大约有 1,604 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
...nhua • 2018-03-22 14:48 this.guge.once(Laya.Event.COMPLETE,this,()=>{ console.log('解析完成'); }); console.log(this.guge.templet); 这样是监听不到Complete事件的,打印出来this.guge.templet结果为null liwenhua • 2018-03-22 14:52 使用U编辑器I做的这个好像没有使...
来源: Laya_社区 发布时间: 20180322
...nLoaded), null, Loader.IMAGE, 1, true, null, true) } static onLoaded(res){ console.log("public assets inited !!!!") console.log(Laya.loader.getRes("res/ui/share@atlas0.png"))//此处会报循环引用错误,也就Android小游戏会 this.sInited = true } 用的是fairygui,目前已经通过...
来源: Laya_社区 发布时间: 20180609
...真机调试时JS中打印的信息会在DevTools里面输出两次 使用console.log打印数据,在开发机的真机调试页面devtools://devtools/bundled/inspector.html中的Console面板中可见输出了2次。然而在C++代码中LOGI出的内容则不会有此问题。不知对此有无...
来源: Laya_社区 发布时间: 20230823
...awTexture(t, 0, 0); oriDBArr[i] = g; } private function onClear():void { console.log(Laya.loader.getRes(_url)); Loader.clearRes(_url,true); console.log(Laya.loader.getRes(_url)); } 将一个大图截成多个小图纹理以后,截出来纹理内存好像不能释放, 如果强行调用t.dest...
来源: Laya_社区 发布时间: 20170224
...e(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.transform.localPosition = new Vector3(100, 100, 100); }); 2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180327
...fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约束所受的力矩 console.log(this.fixedConstraint.currentTorque); } } onJointBreak() { console.log("break"); } ``` - 4.示例效果展示 在初始时,box...
来源: Laya2.0_文档 发布时间: 20210715
...fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约束所受的力矩 console.log(this.fixedConstraint.currentTorque); } } onJointBreak() { console.log("break"); } ``` - 4.示例效果展示 在初始时,box...
来源: Laya2.0_文档 发布时间: 20210715
...Base64("png", 0.92, base64Str => { base64Str = base64Str.split(",")[1]; console.log(base64Str); if(Laya.Browser.window.conch) { // App 分享 let brdige = common.utils.ConchUtils.getBridge(); brdige.call("share", base64Str); } }); 2019-09-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20180914
... }); //转动逻辑 function round(){ tlate.rotation+=roundTurnChange(1); console.log(tlate.rotation); } //转动变量变化 function roundTurnChange(type){ //减速阶段 roundTurn-=0.05; if(roundTurn<=0.3){ console.log("*************************************************88"); Laya.time...
来源: Laya_社区 发布时间: 20160718
...cument.getElementById("btn_file").click()不能弹出文件选择框 在console里面输入document.getElementById("btn_file").click()能弹出 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 喵了...
来源: Laya_社区 发布时间: 20180914