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

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

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

子弹添加了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

52. XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. [ 85%]

XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. XmlDom没有了吗?要用哪个类? 我只找到原生的XMLDocument,可是报错 Property 'attributes' does not exist on type 'Node & ChildNode'. 谁 遇到过?let local_confi...

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

53. 发布WEB报错 unable to get property '_addReference' of undefined or null reference [ 84%]

发布WEB报错 unable to get property '_addReference' of undefined or null reference 调试 正常 发布后 会显示这个报错 附件 : --> laya3DDemo2.rar 2019-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...

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

54. Cannot read property 'toDefault' of undefined报错是什么原因 [ 84%]

Cannot read property 'toDefault' of undefined报错是什么原因 主要代码如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.cle...

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

55. 【求助】关于Cannot read property 'visible' of undefined问题 [ 84%]

【求助】关于Cannot read property 'visible' of undefined问题 我的代码是这样子的: private function showFoods():void{ foodSprite = new Sprite(); Laya.stage.addChild(foodSprite); this.index = 0; foodsList = new Array(); foodsList.push(new Food("菜品1", "1", 0)); foodsList.push(new ...

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

56. [LayaAir3]一个空的Laya项目,物理库选择Bullet wasm,发布微信小游戏后运行时初始化出错:TypeError: Cannot read property 'src' of undefined [ 84%]

[LayaAir3]一个空的Laya项目,物理库选择Bullet wasm,发布微信小游戏后运行时初始化出错:TypeError: Cannot read property 'src' of undefined 附件 : --> LayaPhysicsWeixin.zip 2024-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

57. [LayaAir3]3.3.5 2D粒子创建ColorOverLifetime实例会报错 [ 84%]

[LayaAir3]3.3.5 2D粒子创建ColorOverLifetime实例会报错 3.3.5 2D粒子创建ColorOverLifetime实例时候会报错,需要重启编辑器。 TypeError: Cannot set property canvas of #<WebGL2RenderingContext> which has only a getter at engine/libs/laya.core.js:22451 Uncaught TypeError:...

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

58. Unity导出的场景无法加载 [ 84%]

Unity导出的场景无法加载 当unity 导出的场景 如果节点有碰撞体 时加载时报错  Laya3D._physics3D.btCollisionObject Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined    at PhysicsCollider.__proto._onAdded (libs/laya.d3.js:41745)     at Sprite3D....

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

59. 添加组件PhysicsCollider 时报 Cannot read property 'btCollisionObject' of undefined [ 84%]

添加组件PhysicsCollider 时报 Cannot read property 'btCollisionObject' of undefined 我的模型是用unity3d导出来的,都能正常显示,播放动画,但在在添加 var boxCollider:PhysicsCollider = saiziSprite.addComponent(PhysicsCollider)as PhysicsCollider; 时报错了,报错...

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

60. Laya ide 1.83 导出apk 加载场景失败 [ 84%]

Laya ide 1.83 导出apk 加载场景失败 05-18 09:55:36.987: I/0(27649): >>>>>>ExportJavaFunction callMethod  layaair/game/browser/ExportJavaFunction alerthttp://stand.alone.version/libs/laya.d3.js:37382: TypeError: Cannot read property 'width' of undefined 05-18 09:55:36.987: ...

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