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

大约有 393 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)

41. Cannot read property '_physicsUpdateList' of null 错误 [ 92%]

Cannot read property '_physicsUpdateList' of null 错误 添加 var collider = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了   Uncaught TypeError: Cannot read property '_physicsUpdateList' of null     at PhysicsCollider.__proto._o...

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

42. 发布web报错,can not read property "tagName" of null [ 92%]

发布web报错,can not read property "tagName" of null F5调试没问题,通过二维码的浏览器访问就报错了,怎么解决啊 附件 : --> 2019-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复...

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

43. 按照官方的操作步骤为flashBuilder创建项目,无法运行。报错Cannot read property 'addChild' of null [ 92%]

..._01/as/layajs.exe} “自变量”已添加为"${project_loc}\.actionScriptProperties;iflash=false;chromerun=true;quickcompile=true;out=bin/js/bundle.js;subpath=" 附件 : --> Test_280_01.rar 2020-12-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

44. laya 1.7.8beta 运行protobuf的例子,报错“cannot read property ‘create’of null” [ 92%]

laya 1.7.8beta 运行protobuf的例子,报错“cannot read property ‘create’of null” 2017-08-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ilovelaya 赞同来自: index里面两个文件也是引入...

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

45. 在执行动画的时候报错laya.core.js:29156 Uncaught TypeError: Cannot read property 'borderColor' of null [ 92%]

在执行动画的时候报错laya.core.js:29156 Uncaught TypeError: Cannot read property 'borderColor' of null 1.执行切换图片做动画的时候报错如图所示; 附件 : --> 2019-09-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

46. TypeError: Cannot set property 'material' of undefined [ 91%]

TypeError: Cannot set property 'material' of undefined this.unit3D = Laya.Loader.getRes("Unity/Unit.lh") as Laya.MeshSprite3D; this.scene3D.addChild(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0))...

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

47. 程序可以运行,但是过一段时间会出现Uncaught TypeError: Cannot read property 'font' of null错误,如何修改代码 [ 91%]

程序可以运行,但是过一段时间会出现Uncaught TypeError: Cannot read property 'font' of null错误,如何修改代码 附件 : --> 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199...

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

48. 子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” [ 91%]

子弹添加了colliderShape后onUpdate移动,destroy会报错“Cannot read property 'getWorldTransform' of null” 发射时生成子弹: onFire() { if (this.isFire) { Laya.Mesh.load("fly2/fly3-bullet.lm", Laya.Handler.create(this, function (m) { let bullet = new Laya.MeshSprite3D(m); this.Sn...

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

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

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

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

50. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 91%]

ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null   附Demo。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityP...

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