大约有 182 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)
...p: 编辑 .laya/compile.js 文件,将第66-71行 return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false });修改为 return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: true });编辑 tsc...
来源: Laya_社区 发布时间: 20201223
...添加的方法体 var root_Url = "D:/code/project/src";//项目diam路径 fileDisplay(path.resolve(root_Url)); /** * 文件遍历方法 * @param filePath 需要遍历的文件路径 */ function fileDisplay(filePath){ //根据文件路径读取文件,返回文件列表 fs.readdir(filePath,function...
来源: Laya_社区 发布时间: 20190613
...dules/layacmd/ProjectExportTools/TP/atlas-generator: cannot execute binary file Packing complete All Work complete finish. tsc -p . --outDir bin/js internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1024:11) at ChildProcess.spawn (inte...
来源: Laya_社区 发布时间: 20171211
...3003 (EGL_BAD_ALLOC) 08-20 16:53:49.220 24823-24907/? I/LayaBox: found the file in the package:cache/bsycdn.aip.cn_v1_qudaoceshi_android_current_bin/ff551fdd loader callback cost a long time:183 url=res/3d/monster/Assets/ResourcesData/monster/mon_neilongga/mon_neilongga-walk.lani 08-20 16:53...
来源: Laya_社区 发布时间: 20181213
...cess, timeout after 10000 ms - (reason: Can't find a target that matches: file:// https://ask.layabox.com/question/12302 2018-03-08 0 0 分享 微博 QZONE 微信 qian 赞同来自: 6.添加第三方库 https://ask.layabox.com/question/12228 2018-03-08 0 0 分享 微博 QZONE 微信 qian...
来源: Laya_社区 发布时间: 20180308
..._6 mType: 0 status 0 08-14 10:57:51.050 3198-3485/? I/logserver: handle_logfile_events, Object Path:/data/system/dropbox/, mask=0x00000080 process_one_event, event->len=48, name=data_app_native_crash@1534215471049.txt 08-14 10:57:51.050 3198-3485/? E/logserver: process_one_event, can not fi...
来源: Laya_社区 发布时间: 20180814
...le "--cwd=D:\\workspace\\layabox\\LayaAirIDE_beta\\resources\\app", "--gulpfile=${workspaceFolder}/.laya/compile.js", "compile" ] } 四、laya项目文件夹下 .laya/compile.js 修改代码 1、修改ideModuleDir、workSpaceDir解析规则 //获取Node插件和工作路径 let ideModuleDir; let wor...
来源: Laya_社区 发布时间: 20200607
...3:28:38.922 1760-1760/? E/memtrack: Couldn't load memtrack module (No such file or directory) 07-16 13:28:38.922 1760-1760/? E/android.os.Debug: failed to load memtrack module: -2 07-16 13:28:38.952 1760-1760/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am 07-16 13:28:38.962 1760-1...
来源: Laya_社区 发布时间: 20190716
...,在谷歌下报错运行不了 报的是这个错 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2016-08-31 0 2 分享 微博 QZONE 微信 xiaobear250 赞同来自: 写得很好...
来源: Laya_社区 发布时间: 20160722
...@IEditorEnv.regClass() class TestSceneScript { static visitNode() { fs.readFileSync(....) } } TestSceneScript.ts这个文件会在发布中被裁剪,因为它没有被Laya.Script直接引用。 2.2 UI进程脚本和Scene进程脚本通讯的方式 1、设置节点/组件属性后,场景里的节...
来源: Laya3.0_文档 发布时间: 20251010