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

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

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未定义 [ 88%]

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

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

3. must set document class! [ 86%]

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

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

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

5. @regClass编译报错! [ 84%]

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

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

6. 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_社区 发布时间: 20171111

7. 编译的时候报错 [ 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

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

9. ReferenceError: Loading_fly is not defined [ 78%]

... { function Loading_fly() { Loading_fly.super(this); this.onPlay(); } Laya.class(Loading_fly, "Loading_fly", _super) var _proto = Loading_fly.prototype; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya.Dialog(); this.diango.width ...

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

10. js继承模式 [ 78%]

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