大约有 250 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...对象起一个短的名字。 不要与用来加载模块的 import x = require('name')语法弄混了,这里的语法是为指定的符号创建一个别名。 你可以用这种方法为任意标识符创建别名,也包括导入的模块中的对象。 参考 https://www.tslang.cn/docs/hand...
来源: Laya_社区 发布时间: 20170802
...下为配置文件的详细说明 { //散图的根目录。 "inputDir": "required.", //打包后的图集的目录。 "outputDir": "", //resDir没打包进图集的资源目录,比如图片不符合用户设置的,或者被用户明确指定不打包的,还有非图片资源等。 //resDir在L...
来源: Laya_社区 发布时间: 20161201
...t;>after I/LayaBox: found the file in the package:app.json I/LayaBox: require(/sdcard/layabox/scripts/scripts/index.js) require(/sdcard/layabox/scripts/index.js) found the file in the package:scripts/index.js I/LayaBox: require(/sdcard/layabox/scripts/async.js) found the f...
来源: Laya_社区 发布时间: 20190723
... Laya_Aaron 赞同来自: 两个问题 1是 game.js 里面第二行 改 require("./code.js"); 还有一个问题是你有读取什么本地文件 不是ascii 编码吗,小游戏本地文件要ascii编码 之前提到每个游戏有4M本地物理存储空间,这里需要特别注意的...
来源: Laya_社区 发布时间: 20180228
...eceive an expedited review until the investigation is completed. We do not require any additional information from you at this time, nor do we have any additional details to share. We appreciate your continued patience during our investigation. Best regards, App Store Review 2019-11-08 添加评论 ...
来源: Laya_社区 发布时间: 20191108
... 1 个回复 rabbit 赞同来自: karin666 、李家智 import YQBCommon = require("../../libs/pb2");引用这个没必要,而且路径也是错的。删除这行,pb2.d.ts没问题后,即可正常使用。。 pb2.d.ts和protobufjs.d.ts也有问题,别用export as namespace 用 declare mo...
来源: Laya_社区 发布时间: 20190220
...引用, 可以调试. 发布也用旧的脚本 . const uglify = require(ideModuleDir + "gulp-uglify"); 改为 const uglify = require(ideModuleDir + "gulp-uglify-es").default; mangle: false 这样压缩也不会错了 ,完美. 2019-08-01 0 1 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190730
...并放到bin/js下面了,并且已经在game.js里加了window.Parser = require("./js/dom_parser");
来源: Laya_社区 发布时间: 20190401
... 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_require, location: /home/game/jenkins/workspace/SafeBuild/XGame/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_runtime.cpp:179 07-11 16:53:45.923 30921-30972/? E/jswrapper: ERROR: Uncaught...
来源: Laya_社区 发布时间: 20190711
...可以了,例如你引入了decimal.js文件,你可以window.Decimal = require("lib/decimal.js"); 2021-06-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 懒货 相关问题 2.0一不小心删了bin目录下的某个场景json文...
来源: Laya_社区 发布时间: 20210610