大约有 79 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0027 秒)
Laya_社区(60) laya_api(4) Laya2.0_api(4) Laya3.0_api(4) Laya2.0_示例(2) Laya_示例(2) Laya3.0_文档(2) Laya2.0_文档(1)
... cmd.append(')'); Log.d("JSBridge", "callToJs:" + cmd); ConchJNI.RunJS(cmd.toString()); } 2019-08-21 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: ConchJNI.RunJS("alert('hello world')"); 最后一行有 java 调用js的方法 2019-05-16 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20190515
... let isNotNumber = true; for (let j = 0; j < 10; j++) { if (str[i] == j.toString()) { isNotNumber = false; break; } } if (isNotNumber) { str.splice(i, 1); i--; } } input.text = str.join(''); })
来源: Laya_社区 发布时间: 20190225
...本相对于起点的位置 //设置文字,位置 cxt.fillText("-" + hart.toString(), 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; this.texture2D = new Laya.Texture2D(256, 256); this.texture2D.loadImageSource(this.cav); this.mat.renderMode = Laya.UnlitMaterial.RENDERMODE_TRANSPARENT; this.m...
来源: Laya_社区 发布时间: 20200714
...d(this.hbox); }else{ this.hbox.removeChildren(); } var cout:string = value.toString(); for(var i=0;i<cout.length;i++){ var clip: Laya.Clip = new Laya.Clip("loading/num0-9.png", 10, 1); clip.index = parseInt(cout.charAt(i)); this.hbox.addChild(clip); } var clip_perc:Laya.Clip = new Laya.Clip("load...
来源: Laya_社区 发布时间: 20180615
...ce(/\.00$/, '') + 'K'; } else { return value.toString(); } } 2025-12-12 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Rw. 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件...
来源: Laya_社区 发布时间: 20251211
... = frame.content(); //真正的数据是放在buf里面的 String aa = buf.toString(Charset.forName("utf-8")); //将数据按照utf-8的方式转化为字符串 System.out.println(aa); 其中的aa输出为“ ” 附件 : --> 2017-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20170405
...n getGet():Object { var url:String = __JS__('window.document.location.href.toString()'); var u:* = url.split("?"); if (u[1] is String) { u = u[1].split("&"); var gets:Object = {}; for (var i:String in u) { var j:String = u[i].split("="); gets[j[0]] = j[1]; } return gets; } return { }; } //使用...
来源: Laya_社区 发布时间: 20160110
...ng="0,0,1,0"; this.btn.addChild(this.lbl); } this.btn.name=index.toString(); this.uiCtrl=uiCtrl; this.btn.on("change",()=>{ switch(this.btn.name.trim()){ case "0":{ if(this.btn.selected){ this.btn.skin="resources/ui/目录2.png"; let modelCtrl:ModelCtrl =La...
来源: Laya_社区 发布时间: 20241014
...s); sp.play(); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings);...
来源: Laya_社区 发布时间: 20170103
...Of: function() propertyIsEnumerable: function() toLocaleString: function() toString: function() valueOf: function() __proto__: null 附件 : --> 2024-03-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 1675148949...
来源: Laya_社区 发布时间: 20240305