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

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

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. 使用as3开发时候添加事件.on会报错。Uncaught TypeError: Cannot read property 'on' of null [ 99%]

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

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

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

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

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

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

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

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

5. Property 'GraphicAnimation' does not exist on type 'typeof display'. [ 97%]

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

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

6. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 96%]

...or: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 把项目运行在编译器中,切到后台一会就会报这个错 2017-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...

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

7. laya2.9版本,脚本如何正确添加,现在报错“onof null [ 96%]

laya2.9版本,脚本如何正确添加,现在报错“onof null 如图截图给研发商,一个新项目,建了一个场景,用了2d物理 ,不添加脚本可以运行,添加了脚本之后就提示这个。 这个on是绑定点击事件的。 附件 : --> demo.zip 2020-12-30 添...

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

8. error TS2339: Property 'delta' does not exist on type 'Event'. [ 94%]

...3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Cannot read prope...

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

9. App websocket out of memory [ 94%]

App websocket out of memory testWebSocket(){ let client = new PinusWSClient(); client.on(PinusWSClientEvent.EVENT_IO_ERROR, (event) => { }); client.on(PinusWSClientEvent.EVENT_CLOSE, (event) => { //触发条件,手机端把网全关了 this.testWebSocket();//这种方式会导致在短时...

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

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

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

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