大约有 38 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0027 秒)
... "res/atlas/role/monster/monsterA/move.atlas" ]; Laya.loader.load(aniArr, Handler.create(this, onAni), null, Loader.ATLAS); private function onAni():void { var role:SimpleRole = new SimpleRole(); Laya.stage.addChild(role); } SimpleRole类: public fun...
来源: Laya_社区 发布时间: 20170619
...er/tower_111002/tower_111002.lh) 2、加载这个资源 (使用Laya.loader.create,参阅附件工程) 3、使用layadcc (反正也没人回答,附件暂时删除了) 4、发现tower_111002.lh 这个资源显示 found the file in the package 5、发现tower_111002.lh 这...
来源: Laya_社区 发布时间: 20200512
...创建vivo快游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Mo...
来源: Laya_社区 发布时间: 20200817
...中: //加载图集 asset.push( { url: NVHAIDAOMAO_JSON_URL, type: Laya.Loader.ATLAS }, { url: WAR_JSON_URL, type: Laya.Loader.ATLAS } ); Laya.loader.load(asset, laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); // 使用图集 var arr = []; for(v...
来源: Laya_社区 发布时间: 20170326
...以下错误 PS D:\layagame\sblaya2> layaair2-cmd internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\layaair2-cmd.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:...
来源: Laya_社区 发布时间: 20191231
...,怎么分别调用?如图 app启动动画应该如何去掉 请问下loader如何强制加载一个文件,避免浏览器的缓存 问题状态 最新活动: 2019-04-03 12:22 浏览: 1051 关注: 2 人
来源: Laya_社区 发布时间: 20181105
3D开启多线程报错 开启多线程后 Laya.WorkerLoader.workerPath="libs/worker.js"; Laya.WorkerLoader.enable=true; 加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh"); 报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'Web...
来源: Laya_社区 发布时间: 20190227
3D开启多线程报错 开启多线程后 Laya.WorkerLoader.workerPath="libs/worker.js"; Laya.WorkerLoader.enable=true; 加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh"); 报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'Web...
来源: Laya_社区 发布时间: 20190323
...n图集加载问题 请问下加载TFF字体要怎么加载呢? 请问下loader如何强制加载一个文件,避免浏览器的缓存 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 laya3D动画无法播放 unity到导出场景加载...
来源: Laya_社区 发布时间: 20180130
...tos/login.proto", "protos/gm.proto", "protos/samplegame.proto", ]; Laya.loader.load(this._proto_files,Laya.Handler.create(this,this.OnProtoLoaded),null, Laya.Loader.TEXT); 打包的时候在release/web下面有了protos/loginxxxxxxxx.proto这样的文件 然后运行的时候,报了这样...
来源: Laya_社区 发布时间: 20180319