大约有 250 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...方库,报错找不到文件 Laya2.0 在Main.ts里:import protoAll = require("../libs/protoAll"); var pCls = protoAll.com.bee.protobuf.ClimbingTowerInfoProto; var p: protoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = true; 用了第三方库prot...
来源: Laya_社区 发布时间: 20190227
...com.layabox.run.*//LayaCache//appCache/da25d557/filetable.txt I/LayaBox: require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file in the package:scripts/config.js I/LayaBox: JSRuntime::callMethod {} demo.J*ridge bgColor JSRuntime::callMethod {} demo.J*ridge setFontColor I/LayaBox...
来源: Laya_社区 发布时间: 20210305
...ya前缀"]; }else{ prevTasks = ["替换Laya前缀"] } const fs = require("fs"); function readFile(path) { if (fs.existsSync(path)) { return fs.readFileSync(path, "utf-8"); } return null; } gulp.task('替换Laya前缀', function(){ ...
来源: Laya_社区 发布时间: 20190128
...----------------------------------- define("libs/laya.wxmini.js", function(require, module, exports, process){ "use strict"; window = window || global, window.layalib || (window.layalib = function (i, e) { (window._layalibs || (window._layalibs = )).push({ f: i, i: e }); }), window.layalib(functi...
来源: Laya_社区 发布时间: 20190319
...意义的代码 */ const LINENUM = 20; const LINENUM_RADOM = 13; var fs = require('fs'); var path = require('path'); var filterFils = ["Base64", "ThemeAdapter","AssetAdapter", "Platform", "wxgamesdk"];//忽略文件 var filterDirs = ["xxxx"];//忽略目录 var traceName = "xxxx";//添加的干扰代...
来源: Laya_社区 发布时间: 20190613
...用LayaIDE来创建项目,因为要使用LayaAir引擎的库文件。 ## requirejs 从requirejs官方下载库文件,目前的最新版本是2.3.4,这是下载链接[http://requirejs.org/docs/rele ... re.js][lib]。把下载的库文件放入`./bin`目录,并且在index.html增加文件引...
来源: Laya_社区 发布时间: 20170817
..."></script> </script> <script type="text/javascript"> require('boot'); </script> <script src="js/Main.js"></script>...... 附件 : --> codeAndResource.rar errorSpineScreenShot.png 2018-11-20 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20181120
... /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ /* Experimental Options */ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMe...
来源: Laya_社区 发布时间: 20190408
...s脚本文件,脚本内容参照如下: ```json const {watch ,task } = require("gulp"); const {exec} = require("child_process"); function compile(cb) { //执行编译命令 layaair2-cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data",(data)=>{ console.log(data); }); ...
来源: Laya2.0_文档 发布时间: 20210715
...lzz.platform/cache/LayaCache/localstorage/logo/logo.png I/LayaBox (12689): require(/sdcard/layabox/scripts/config.js) I/LayaBox (12689): found the file in the package:scripts/config.js I/LayaBox (12689): Download [ ]:http://192.168.137.1/public/sh ... 2.471 E/LayaBox (12689): download image file err...
来源: Laya_社区 发布时间: 20170320