• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 14 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0020 秒)

11. 编辑器选择分离模式生成TS代码时能自动在createChildren里加上createView调用代码么? [ 56%]

...点击编辑器那个app,右键显示包内容:Contents/Resources/app/node_modules/layacmd/ProjectExportTools/LayaAirCmdTool.max.js windows下你用搜索工具搜一下。打开这个js之后读一下行号为21205:CodeManager.createByDir这个函数。。这个函数是导出ui代码的,...

来源: Laya_社区 发布时间: 20171229

12. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 53%]

...epresents the structure of the project at runtime. */     "typeRoots": ["node_modules/@types"],                       /* List of folders to include type definitions from. */     // "types": [],                           /* Type declaration files to be included in compil...

来源: Laya_社区 发布时间: 20190408

13. 引用外部脚本的方式 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...安装AStar为例,如图1-2所示, (图1-2) 会把astar包安装到node_modules目录中,并且会在package.json的dependencies属性下添加astar。 看一下package.json里的内容: { "name": "test", "version": "1.0.0", "description": "", "main": "index.js", "bin": { "test": "bin/bu...

来源: Laya3.0_文档 发布时间: 20251010

14. ProtocolBuffer通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...all protobufjs ws 执行完安装命令后,我们可以看到多出来的node_modules目录下已经成功的完成了protobufjs和ws模块的安装,如图3-1所示。 (图3-1) 3.2 建立.proto 文件 在服务器端,创建一个与客户端相同的 .proto 文件,以便服务器也能...

来源: Laya3.0_文档 发布时间: 20251010