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

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

1. 运行总报TypeError: Object prototype may only be an Object or null: undefined [ 100%]

运行总报TypeError: Object prototype may only be an Object or null: undefined 我的例子只是简单的几个类继承,总是报这个异常,找了很久不没找到原因,工程见附件 TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (<anonymou...

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

2. ts继承后,代码压缩的问题 [ 79%]

..._.prototype = b.prototype, new __) } }(); 然后运行代码会报Uncaught TypeError: LayerManager is not a constructor的错误 我看到Laya有一个Laya.class的方法,请问这个能解决这个问题吗 2017-12-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

3. js继承模式 [ 78%]

... 当屏幕尺寸,缩放模式,横竖屏 发生改变时会报错Uncaught TypeError: Cannot read property 'length' of null 怎么进入webgl模式 LayaIDE编辑模式下,list组件问题 2.10.0版本中代码编译器模式下为什么会自动打开Visual Studio Code,有什么办法设置在Laya...

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

4. Cannot read property 'events' of undefined [ 76%]

...先登录 发起人 皮 相关问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined Cannot read property 'displayObject' of null 鼠标自定义...

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

5. Laya2.0引包问题!!! [ 74%]

.../../utils/FairyUtils'; export class BaseSprite extends fairygui.GComponent TypeError: Object prototype may only be an Object or null: undefined preload.js:55 at setPrototypeOf (<anonymous>) 2019-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

6. 多个文件之间相互import,运行时报错 [ 65%]

...互相import在开发中不可避免啊,请问怎么解决呢?     TypeError: Object prototype may only be an Object or null: undefined preload.js:55 at setPrototypeOf (<anonymous>)   at __extends (file:///E:/SVN/ZQ2/client2.0/bin/js/bundle.js:6:9)   at file:///E:/SVN/ZQ2/client2.0/bin...

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

7. 2.0 beta3 物理 DestroyJoint 报错 [ 60%]

...laya.core.js:18327)   如果手动尝试删除Joint 报错:   Uncaught TypeError: Cannot read property 'SetAwake' of undefined     at box2d.b2World.DestroyJoint (laya.physics.js:792)     at Physics.__proto._removeJoint (laya.physics.js:2242)     at Scene_1_UI.ts:18   我是Laya新手,...

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