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

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

1. TypeError: Cannot read property 'on' of null [ 100%]

TypeError: Cannot read property 'on' of null 按钮点击报错 同一个页面中包含多个view组件,总scence上使用gamecontrol脚本注册各个组件,在分view上设置按钮点击事件,运行即报错 取消第二个页面的按钮.on之后不报错 附件 : --> example.rar 2019-0...

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

2. Property 'GraphicAnimation' does not exist on type 'typeof display'. [ 98%]

Property 'GraphicAnimation' does not exist on type 'typeof display'. 请问一下,我按照教程说的将layaeditor.d.ts放进去libs里面,但是我这提示有问题啊,求问怎么搞 附件 : --> 2018-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

3. 2.0按钮添加事件报错 cannot read property 'on' fof undefined [ 97%]

2.0按钮添加事件报错 cannot read property 'on' fof undefined class GameLogin extends ui.login.login_bgUI { constructor() { super(); this.btn_register.on("click", this, this.ToRegisterPage); } ToRegisterPage() : void { this.loadScene("login/register_page"); } }   //调用on的时候 直接...

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

4. 使用as3开发时候添加事件.on会报错。Uncaught TypeError: Cannot read property 'on' of null [ 97%]

使用as3开发时候添加事件.on会报错。Uncaught TypeError: Cannot read property 'on' of null  是2.0的使用方式有什么变化了么?我是按照官方的视频教程一步步写的。还有一个dialog页面,即便不添加到舞台上,运行的时候它也会自动出现在舞...

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

5. 运行编译 报错Cannot read property 'on' of undefined [ 96%]

运行编译 报错Cannot read property 'on' of undefined   附件 : --> 2018-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Xu 赞同来自: 如图,昨天我还可以好好运行做项目,今天开启电...

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

6. 关于SubMeshRenderElement, Cannot read property ‘lenght’of undefined [ 96%]

关于SubMeshRenderElement, Cannot read property ‘lenght’of undefined 附件 : --> 2021-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 小小泽 จุ บ 赞同来自: 可以的话请提交一个可...

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

7. Uncaught TypeError: Cannot read property 'XXX' of undefined [ 95%]

Uncaught TypeError: Cannot read property 'XXX' of undefined private var spe:Sprite; private function showApe():void {             spe = new Sprite();             spe.mouseEnabled = true;             spe.x = 100;             spe.y = 100;             spe.w...

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

8. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 95%]

TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 按照官方实例骨骼动画里的多纹理写的代码。 一运行就报这个错误   附件 : --> demo.zip 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

9. can not read property "elements" of underfined [ 95%]

can not read property "elements" of underfined 参照官方的cameraMoveScript脚本写控制摄像机移动的功能, var yPRElem:Float32Array=this.yawPitchRoll.elements;   附件 : --> 2019-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

10. TypeError: Cannot read property '_doAwake' of undefined [ 94%]

TypeError: Cannot read property '_doAwake' of undefined   附件 : --> 2018-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: 请详细描述你的问题   2018-09-19 0 0 分享 微博 QZON...

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