大约有 117 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
....Vector3(-0.1, 0, 0); this._tempUnitX4 = new Laya.Vector3(0.1, 0, 0); this.debug = true; Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //预加载所有资源 var resource = [ { url: "../../res/threeDimen/scene/ColliderScene/ColliderD...
来源: Laya_示例 发布时间: 20251130
...工设置断点调试,解决方案: 1、开发者可以在代码中写debugger的方式,进行调试。 2、安装一个Chrome68的版本进行调试。 我公司引擎组会尽快解决这个问题,给大家造成不便,敬请谅解。 ## 一、调试的原理 JavaScript代码的调试,...
来源: Laya2.0_文档 发布时间: 20210715
debug 模式 提示 laya is not define 1.系统:ios 版本:2.2.0 beta 2.创建一个空的项目 3.修改GameConfig.json 中的 GameConfig.debug = true 问题: 运行的时候提示,laya is not define 我只是看一下 laya的日志 附件 : --> 2019-09-22 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20190922
...uot;); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log("Loading progresss : " + pro); }, null, false), Laya.Scene); Monica • 2018-03-21 11:01 @jinfawu:能否提供一个预加载多个文件的Demo呢?我看下 jinfawu • 2018-03-21 11:28 @Monica...
来源: Laya_社区 发布时间: 20180321
... "left"; GameConfig.startScene = ""; GameConfig.sceneRoot = ""; GameConfig.debug = false; GameConfig.stat = false; GameConfig.physicsDebug = false; GameConfig.exportSceneToJson = true; GameConfig.init(); class Main { constructor() { Laya.isWXOpenDataContext = true; Laya.isWXPosMsg = true; if (wind...
来源: Laya_社区 发布时间: 20200104
... } //class game.Game var yfqian=(function(){ function yfqian(){ var debug=yfqian.getUrl("debug"); console.log("dubegs:",debug); if(debug=="yfqian"){ new VConsole(); webUrl=testUrl; phpUrl=testUrl_php; }else{ webUrl=adminUrl; phpUrl=adminUrl_php; } window.console.log('webUrl:',webUrl) if(window...
来源: Laya_社区 发布时间: 20190313
...ed at trimProperty (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18) at propertyPreviewToString (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\var...
来源: Laya_社区 发布时间: 20171203
...artScene = "main.scene"; GameConfig.sceneRoot = ""; GameConfig.debug = false; GameConfig.stat = false; GameConfig.physicsDebug = false; GameConfig.exportSceneToJson = true; GameConfig.init(); class Main { constructor() { //根据IDE设置...
来源: Laya_社区 发布时间: 20201110
构建好android studio项目后,debug出错 I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not y...
来源: Laya_社区 发布时间: 20180724
...tructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener isCreateF...
来源: Laya3.0_api 发布时间: 20231115