大约有 105 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...20) at Mi._createNodeByJson02 (laya.d3.min.js:1:818349) at Mi._parse (laya.d3.min.js:1:818633) at _onHierarchyInnerFirstLevResouLoaded (laya.d3.min.js:1:862623) at T.runWith (laya.core.min.js:1:15460) at laya.core.min.js:1:345845 _onAdded @ laya.d3.min.js:1 _addComponen...
来源: Laya_社区 发布时间: 20230401
...nction SyntaxError: Unexpected token in JSON at position 134 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:15089/game/code.js:10708:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:15089/game/code.js:14608:25) at Handler._...
来源: Laya_社区 发布时间: 20180531
... ZIP: 下载zip包的耗时UnZip Dir: 解压zip包目录结构的耗时Parse Files: 解压zip包的文件总个数和耗时Load Zip Total:从压缩包下载前到资源加载完毕后的总耗时 如果需要关闭调试可以:[size=14][code]// Turn off time-consuming printing LayaZip.DeBu...
来源: Laya_社区 发布时间: 20211227
....value = "Hello OC!"; bridge.callWithBack(function(value) { var obj = JSON.parse(value) alert(obj.value); },"testAsyncCallback:", JSON.stringify(obj)); } else if (os == "Conch-android") { alert(bridge.call("testString","hello")); alert(bridge.call("testNumber",256.0)); alert(bridge.call("testBool",f...
来源: Laya2.0_文档 发布时间: 20210714
...e = "Hello OC!"; bridge.callWithBack(function(value: any) { var obj = JSON.parse(value) alert(obj.value); },"testAsyncCallback:", JSON.stringify(obj)); } else if (os == "Conch-android") { alert(bridge.call("testString","hello")); alert(bridge.call("testNumber",256.0)); alert(bridge.call("testBool",f...
来源: Laya3.0_文档 发布时间: 20250422
...tion(){ return through.obj(function (file, enc, cb) { staticVersion = JSON.parse(file.contents.toString()) let content = `export default ${file.contents.toString()}` file.contents = new Buffer(content) this.push(file) return cb() }); }()) .pipe(gulp.dest('.')) }) /** 图集资源添加时间戳 */ g...
来源: Laya_社区 发布时间: 20180412
... if(obj){ return JSON.parse(obj); } } return null; // return JSON.parse(Storage.support ? Storage.items.getItem(key) : null); } 2019-10-17 添加评...
来源: Laya_社区 发布时间: 20191017
...画模板 templet=new Laya.Templet(); templet.on(Laya.Event.COMPLETE,this,parseComplete); templet.on(Laya.Event.ERROR,this,onError); //加载动画文件 templet.loadAni("res/spine/goblins/goblins.sk"); function onError() { console.log("parse error"); } function parseComplete() { //创建第一个...
来源: Laya2.0_文档 发布时间: 20210715
...理旧数据 开始构建 正在准备资源 ExportAssetTool: 1 assets to parse ExportAssetTool: 1 assets to parse 正在导出资源 ExportAssetTool: 2 items to write 正在编译和打包脚本 正在拷贝文件 正在创建清单文件 Run .onCreateManifest 正在创建包 正在结束构建 Bui...
来源: Laya_社区 发布时间: 20250102
...{ fork } = require('child_process'); const path = require('path'); program.parse(process.argv); const projPath = path.join(__dirname, '../'); const layaCompileDir = path.join(projPath, '.laya'); const gulpFilePath = path.join(layaCompileDir, 'compile.js'); const gulpPath = path.join(projPath, 'node_...
来源: Laya_社区 发布时间: 20201223