大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...要的资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, () => { alert("onLoaded!"); }), null, Laya.Loader.ATLAS, 1, true, null, false, true); useWorkerLoader参数设为true后,文件加载不成功? 附件 : --> Demo.zip 2019-01-11 添加评论 免费帖 --> 分享...
来源: Laya_社区 发布时间: 20190111
...工程,编译报错 Laya 新建ts工程,空项目编译报错 Warning!,this class[MiniAdpter] already exist: Object 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 这个只是...
来源: Laya_社区 发布时间: 20180410
...ne: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error。经过调试发现code.js中__proto.onAsynLoaded 方法里面var json=data[0]有问题,data本身是json字符串,data[0]为{,虽然将这里改了,但是...
来源: Laya_社区 发布时间: 20180927
....play(0,false); emotionSwf.playTo(0, emotionSwf.count, Laya.Handler.create(this,() => { emotionSwf.stop(); emotion.visible = false; })); 如上代码,发现调研play(0,false)后,动画还是一直循环播放,还是emotionSwf.count一直为0,导致播放完成的回调会立即执行,...
来源: Laya_社区 发布时间: 20181029
...的回调函数 Laya.loader.create 进度回调函数执行两次 Warning!,this class[MiniAdpter] already exist: Object {init: } js调as函数 undifine 怎么停止正在运行Laya.timer.frameLoop的回调函数 load 加载完图集 回调函数可以传形参吗? 网页跳转函数 MOUSE_OVER注...
来源: Laya_社区 发布时间: 20180913
...e3D = obj.other.owner as Laya.MeshSprite3D; let owner: Laya.MeshSprite3D = this.owner as Laya.MeshSprite3D; let position = obj.contacts[0].positionOnA; // 碰撞位置 } onTriggerEnter(obj) 、、如何获取碰撞位置? 2020-04-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20200408
...报错信息显示变为 stdout:we are installing dependencies for you . this might take a while... if failed,you should install dependencies by yourself with 'npm install' 就一直卡着了 4、后再删掉2.6,用2.4打开,还是报一样错误 附件 : --> 2020-04-14 添加评论 免费...
来源: Laya_社区 发布时间: 20200414
...00, Ease.linearIn) } } timeline.play(0, true); timeline.on(Event.COMPLETE, this, function () { count++; if (count === 2) { timeline.destroy(); count = 0; } });为什么在结束的时候,会报下面的错误呢? 附件 : --> 2017-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170405
...cuixueying 赞同来自: { Laya.loader.load("ui/image.png", Handler.create(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var texture:Texture=Loader.getRes("ui/image.png"); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); } 20...
来源: Laya_社区 发布时间: 20170603
...m3D.都不行 2020-07-31 0 0 分享 微博 QZONE 微信 kura 赞同来自: this.player.transform.translate() 2020-08-06 0 0 分享 微博 QZONE 微信 王志文 赞同来自: 是引擎里面没有添加3D的类库,点F9之后在类库页面添加完毕就好 2020-08-06 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20200731