大约有 122 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0041 秒)
Laya_社区(86) Laya2.0_文档(13) Laya3.0_文档(9) Laya2.0_api(6) Laya3.0_api(5) laya_api(1) Laya2.0_示例(1) Laya_示例(1)
...)全部在2.X上歇菜了,只要不分包"subpackages": [{"name": "XX", "root": "XX/" }],不走分包逻辑,小游戏就能正常进入loading场景,否则就直接卡在logo界面,minidev看不到相关得log输出,adb也找不到相关得 log输出,目前走的远程,不知道官...
来源: Laya_社区 发布时间: 20240914
... /* Redirect output structure to the directory. */ "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "removeComments": true, /* Do no...
来源: Laya_社区 发布时间: 20190408
...res/protobuf/Login.proto", onAssetsLoaded); function onAssetsLoaded(err, root) { console.log("____________________________________") if (err) throw err; // Obtain a message type var AwesomeMessage = root.lookup("msg.LoginReq"); // Create a new message var message = AwesomeMessage.create( { ope...
来源: Laya_社区 发布时间: 20180704
...r.proto"); 然后再使用回调处理: this._protoBuilderUserMap.then( (root)=>{ ... } ) 感觉很麻烦,有没有简单的办法,不用回调,而且laya里我想用import来引入自己的库会报错。我这样用: import ProtoBuf = dcodeIO.ProtoBuf; 报错: ReferenceError: dcodeI...
来源: Laya_社区 发布时间: 20171103
...9 然而并没有layabox目录 jxfcwys • 2017-11-18 17:10 然道要取得root权限,去查看根目录里面吗?
来源: Laya_社区 发布时间: 20171118
...务区的消息 //已经加载完了.proto文件 var awesomMsg:any=root.lookup("com.lll.game.login.LoginRequest"); var message:any=awesomMsg.create( {username:'nk', password:'123', usertype:1} ); var buffer=awesomMsg.encode(message).finish(); //封装数据为约定的格式 length,id,buff soc...
来源: Laya_社区 发布时间: 20171113
...是不懂为什么要去项目目录找gulp依赖,麻烦处理一下~ [root@localhost layaair2-cmd]# layaair2-cmd compile -w /h5game_src/develop/laya Local gulp not found in /h5game_src/develop/laya/.laya [16:23:49] Try running: npm install gulp exit:1 另外全局gulp已经安装,看了下...
来源: Laya_社区 发布时间: 20191018
...ackage({ name: '3d', // name 可以填 name 或者 root success: function (res) { console.log('res ----------> ',res); // 分包加载成功后通过 success 回调 ...
来源: Laya_社区 发布时间: 20190514
... }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 ex...
来源: Laya3.0_文档 发布时间: 20250310
... }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 ex...
来源: Laya3.0_文档 发布时间: 20250104