大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0064 秒)
...apName+"1.lh"; if(this.PRINT_LOG){ console.log("准备读取区域"+curIndex+" 的 路径: "+path+"地图"); } Sprite3D.load(path,Handler.create(null,function(sp){ if(_$this.PRINT_LOG){ ...
来源: Laya_社区 发布时间: 20191011
...Import的功能实现的) import BM from './b'; window.onload = ()=>{ console.log(AM.AC.myname); console.log(BM.BC.myname); console.log(Laya.Browser.clientWidth); } 实际测试能完美运行。 我就一个小疑问,如果我想用namepsace而非module声明AM, BM,我就是坐出痔疮也...
来源: Laya_社区 发布时间: 20181026
...: 2 人 xdkaka • 2017-12-14 17:38 我就是这么做的,不可以啊,console.log可以出来当前的选项,说明继承没有问题,但是无法更改 class Tab extends TabUI{ constructor() { super() this.zOrder = 1 console.log(this._tab._selectedIndex) //返回1,正常 this._tab._selec...
来源: Laya_社区 发布时间: 20171214
...ctx.clear() const len = points.length; console.log("ppppppppppppppp ", points) ctx.drawPoly(0, 0, points, "#FFFFFF", "#FF00FF", 1) } 附件 : --> 2020-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20200428
... onStart() { //@ts-ignore window.camera = this.camera; console.log("Game start", this.camera._up); console.log( "Game start", this.camera._up.x, this.camera._up.y, this.camera._up.z ); } } 附件 : --> testProject.zip 2024-10-29 ...
来源: Laya_社区 发布时间: 20241029
...und("sound/bg1.mp3", 0); Laya.stage.on(Laya.Event.FOCUS, null, function(){ console.log("获取焦点") Laya.SoundManager.playSound("sound/bg1.mp3", 0); }) Laya.stage.on(Laya.Event.BLUR, null, function(){ console.log("失去焦点") }) 2018-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180807
...cene()); scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"); });HIERARCHY_LOADED 和 LOADED有什么区别?为什么对scene不起作用? 2017-06-19 添...
来源: Laya_社区 发布时间: 20170619
...false); 我可以看到模型transform.rotation值的变化, console.log(this.needle.transform.rotation); 但是,我查看 console.log(this.needle.transform.rotationEuler); 却是却是 undefined。 2017-12-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20171206
...s.length; i++) { str += ` {${i} : ${data.touches[i].pos.toString()}}`; } } console.log("drag mouse down", str); }); Laya.stage.on(Laya.Event.MOUSE_UP, this, (data: Laya.Event) => { let str = ""; if (data.touches) { for (let i = 0; i < data.touches.length; i++) { str += ` {${i} : ${data.touches...
来源: Laya_社区 发布时间: 20230823
..., "post","json",null); 回调方法: success:function (e,args) { console.log(e); //此行可以得到响应内容 console.log(args); //此行无法获取自定义参数? } 请问如何获取/传递 自定义参数。 2018-03-04 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180304