• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 54 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)

1. debug 模式 提示 laya is not define [ 100%]

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

2. Laya.loader.create中的progress回调好像不准确? [ 99%]

...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

3. Laya2.2问题,有没有遇到的? [ 97%]

... "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

4. 2.0版本 ios浏览器旋转,会导致适配出现问题,无法旋转回来 [ 97%]

... }     //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

5. HTMLIframeElement 使用出错?请大神指点 [ 96%]

...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

6. Maximum call stack size exceeded [ 95%]

...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

7. 构建好android studio项目后,debug出错 [ 94%]

构建好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

8. 打包安卓Android studio黑屏 [ 92%]

...r -t F:\GWCT\Android\test\android_studio\app\build\intermediates\split-apk\debug\slices\slice_3.apk F:\GWCT\Android\test\android_studio\app\build\intermediates\split-apk\debug\slices\slice_5.apk F:\GWCT\Android\test\android_studio\app\build\intermediates\split-apk\debug\slices\slice_6.apk F:\GWCT\An...

来源: Laya_社区 发布时间: 20190723

9. IDE调试无法刷新 [ 91%]

IDE调试无法刷新 Mac系统 TS语言 debug下无法刷新, 只能关掉重新跑 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 无法刷新指的是什么? 想刷新之...

来源: Laya_社区 发布时间: 20180716

10. 刚刚接触2天layaair,有几个问题请教。 [ 88%]

...Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["DebugPanel"].enable(); Laya.stage.scaleMode = GameConfig.scaleMode; //Laya.stage.screenMode = GameConfig.screenMode; Laya.stage.screenMode = "horizontal"; Laya.stage.alignV = GameConfig.alignV; L...

来源: Laya_社区 发布时间: 20181027