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

大约有 179 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

1. laya 2.x BUG ?? 编译后 SyntaxError: for-in loop head declarations may not have [ 100%]

laya 2.x BUG ?? 编译后 SyntaxError: for-in loop head declarations may not have 这个和标准有关   https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_for-in_initializer   我代码里没写错 代码里 是这个形式   for(var x in list){ xx } 但是编译...

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

2. LayaAir编译器错之for_in [ 99%]

LayaAir编译器错之for_in 编译器会新一个变$each_i来代替i 此情况下尽量写成以下方式 ------------------as------------------     for (var i:String in Loader.loadedMap)             {                 var t:Texture = null;                 if(Lo...

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

3. GL ERROR :GL_INVALID_OPERATION : glDrawElements: [ 98%]

GL ERROR :GL_INVALID_OPERATION : glDrawElements: [.Offscreen-For-WebGL-0834E938]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/SVN/ZQ2/client2.0/bin/index.html]   [.Offscreen-For-WebGL-0834E938]GL ERROR :GL_INVALID_OPERATION : gl...

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

4. 编译器for循环问题 [ 95%]

编译器for循环问题             var o:Object = new Object();             for ( var key :int in o )             {             }   这样的AS代码会编译出 var o=new Object(); for (var key=0 in o){ }   这样的JS代码   在IOS里真机还是LAYABOX运行都会...

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

5. 报错:"for each" err,must add{} 怎么解决? [ 92%]

报错:"for each" err,must add{} 怎么解决? 2015-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: "for each" err,must add{}提示这种错误是因为js中部分浏览器不支...

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

6. for each" err,must add{} [ 92%]

for each" err,must add{} 2015-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自:     "for each" err,must add{}提示这种错误是因为js中部分浏览器不支持for each。...

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

7. App Updates for HTML5 Apps 这意味着iOS端就废了? [ 90%]

App Updates for HTML5 Apps 这意味着iOS端就废了? App Updates for HTML5 Apps September 6, 2019 In order to provide users with the secure and curated experience that they expect on the App Store, we have always specified that apps must be self-contained bundles. This means that the core feat...

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

8. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 90%]

... android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section o...

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

9. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 88%]

...  // "downlevelIteration": true,            /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */     // "isolatedModules": true,               /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ ...

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

10. as编译js的一个问题 [ 87%]

as编译js的一个问题 var o:Object = new Object(); for ( var key :int in o ) { }   这样的AS代码会编译出 var o=new Object(); for (var key=0 in o){ }   这样的JS代码   在IOS里真机还是LAYABOX运行都会报 SyntaxError:Cannot assign to the loop variable inside a for-in loop h...

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