大约有 711 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0051 秒)
...undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:35024/game/code.js:634:29) at http://127.0.0.1:35024/game/code.js:14:71 at Array.forEach (<anonymous>) at Object.__init (http://127.0.0.1:35024/game/code.js:14:36) at http://127.0.0.1:35024/game/code.js:21155:7 at http://127.0.0.1...
来源: Laya_社区 发布时间: 20180801
微信小游戏支持分包加载js代码,引擎只允许合成一个code.js,怎么可以导出分开的js去支持微信的分包加载 6.19号微信放开4M包体限制支持分包加载。引擎一键导出小游戏工程不支持对接微信分包 2018-06-20 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180620
... = AwesomeMessage.verify(message); if (errMsg) throw Error(errMsg); // Encode a message to an Uint8Array (browser) or Buffer (node) var buffer = AwesomeMessage.encode(message).finish(); // ... do something with buffer // Or, encode a plain object var buffer = AwesomeMessage.encode( { awesomeFiel...
来源: Laya_社区 发布时间: 20180704
...npm v2.14.20 npm ERR! path /usr/local/lib/node_modules/typescript npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall mkdir npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/typescript' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, mkdir '/...
来源: Laya_社区 发布时间: 20160829
...data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:0:0 STACK: [0]__proto._create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:13260 [1]__proto.create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qir...
来源: Laya_社区 发布时间: 20190711
...e("./bytebuffer.js") window.ProtoBuf = require("./protobuf.js") require("./code.js"); game.js 里面这样引入试试。 2018-03-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你读取文件 一定要和文件里面的格式对应上 你怎么读的? 2018-03-06 0 0 分享 微博 QZON...
来源: Laya_社区 发布时间: 20180302
...ocus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.js:150:34) at new t (http://127.0.0.1:62307/game/code.js:227:575) at http://127.0.0.1:62307/game/code.js:8363:181 at http://127.0.0.1:62307/game/code.js...
来源: Laya_社区 发布时间: 20180516
...RN notsup Not compatible with your version of node/npm: got@5.7.1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! gifsicle@4.0.1 postinstall: `node lib/install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gifsicle@4.0.1 postinstall script. npm ERR! This is probably not a problem wit...
来源: Laya_社区 发布时间: 20200211
...按F5到启动完成界面打开10秒左右。 现在想改成使用 VS Code 来编译,在 VS Code 编译时出现如下错误(laya 包找不到,我自己定义的包也找不到): 请问:使用 VS Code 来编译之前用 LayaAir 创建的 TS adh项目,需做哪些处理才能正常...
来源: Laya_社区 发布时间: 20170925
添加组件code里面自定义脚本不显示 我的GameScript是继承的Laya.Scirpt,现在神奇的问题就是,上面这一行注释,如果我删了, 这里就不会显示MainView的脚本组件,但是我把注释加回来,或是把继承改成Laya.Script,这里就会显示,这是...
来源: Laya_社区 发布时间: 20211015