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

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

1. __class is not defined [ 100%]

__class is not defined WAGame.js:3 gameThirdScriptError __class is not defined ReferenceError: __class is not defined at http://127.0.0.1:56728/game/code.js:53274:3 at http://127.0.0.1:56728/game/code.js:53276:4 at require (http://127.0.0.1:56728/game/__ ... :13675) at http://127.0.0.1:56728/game/_...

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

2. 自动生成的页面逻辑类报错:__class未定义 [ 91%]

自动生成的页面逻辑类报错:__class未定义 版本:1.7.19.1beta 环境:Windows平台 项目类型:javascript项目 重现:编辑模式下,新建页面,输入页面名称,勾选“创建逻辑类”,点击确定。生成的逻辑类代码中的__class未定义。 解决...

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

3. @regClass编译报错! [ 85%]

@regClass编译报错! 去掉CtrBase里的@regClass 就不报错! 再或者CtrBase 不引用funzzzzz 或者 funzzzzz不引用MachineCtrl 也不会报错。已经是最精简的就三个类,每个一行代码。上网查 升级了webpack也没用。   写了构造函数也没用 bundle编译...

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

4. must set document class! [ 85%]

must set document class! 编译时出来的一个弹框。没有更多提示。 2018-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 需要设置启动类 2018-07-06 0 0 分享 微...

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

5. TypeError: Cannot read property '_byteLength' of null [ 84%]

...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...

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

6. js继承模式 [ 84%]

js继承模式     new function() { var className = 'BackGround'; window[className] = (function() { Laya.class(Class, className, Laya.Sprite); function Class() { Class.super(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var _...

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

7. TypeError: Cannot read property '_byteLength' of null [ 83%]

...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...

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

8. 用模块器报错,真机不会有这个问题,具体看补充 [ 82%]

...e=53KB, data=39KB I/art: Increasing code cache capacity to 256KB W/System: ClassLoader referenced unknown path: /data/app/com.layademo-1/lib/x86           [ 02-16 02:37:06.759  1874: 1874 D/         ]           >>>>>>>>>>>>>>>>>>&g...

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

9. 编译的时候报错 [ 81%]

编译的时候报错 Undefined symbols for architecture arm64:   "_OBJC_CLASS_$_conchConfig", referenced from:       objc-class-ref in GameReadingViewController.o   "_OBJC_CLASS_$_conchRuntime", referenced from:       objc-class-ref in GameReadingViewController.o   "_OBJC_IVAR_$_conch...

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

10. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 80%]

...rror: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...

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