大约有 385 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0487 秒)
...命令行中添加 `--declaration`(简写 `-d`), 或者在 `tsconfig.json` 中添加 `declaration` 选项。这里以 `tsconfig.json` 为例: ``` { "compilerOptions": { "module": "commonjs", "outDir": "lib", "declaration": true, } } ``` 上例中我们添加了 `outDir` 选项,将 ts 文...
来源: Laya2.0_文档 发布时间: 20210715
... //建议忽略 plugins: [ typescript({ tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }), glsl({ // By default, everything gets included include: /.*(....
来源: Laya_社区 发布时间: 20200918
...。 通过IDE打包后,会生成3个文件,分别为“.atlas”、“.json”、".png"文件(图3)。动画类Animation通过加载“.atlas”或“.json”文件获得图像资源。建议使用“.atlas”文件(*使用时不需要加入类型设置代码*)。 。动画类Animation通过加载“.atlas”或“.json”文件获得图像资源。建议使用“.atlas”文件(*使用时不需要加入类型设置代码*)。 { mark ++; console.log("------data.url:" + JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.load(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { La...
来源: Laya_社区 发布时间: 20190307
...色,其它机型都是正常的。 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 官方新手游戏引导示例中关于hit和unHit的使用疑问 小游戏项目 加载有中文的json文件 报错 .sk , .lm , .ltc , .lh, .ani等后缀...
来源: Laya_社区 发布时间: 20200217
...List实例的单元格渲染器。 取值: 单元格类对象。 UI 的 JSON 描述。 Tree keepStatus : Boolean 数据源发生变化后,是否保持之前打开状态,默认为true。 取值: true:保持之前打开状态。 false:不保持之前打开状态。 Tree layoutEnabled :...
来源: laya_api 发布时间: 20170929