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

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

21. TypeError: this._childs is null [ 96%]

TypeError: this._childs is null 用了Laya.stage.destroyChildren();之后出错 TypeError: this._childs is null 看不懂啊! 救命啊!!!!!!   还有火狐提示 HTTP "Content-Type" 中的 "text/html" 不支持。媒体资源加载失败。 无法播放媒体。没有相应格式的...

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

22. Cannot read property 'un' of undefined [ 96%]

Cannot read property 'un' of undefined 使用Laya导出小游戏的时候,在code.jsh中包含 (function(window,document,Laya){ var __un=Laya.un } 在小程序的ide中就会报错 Cannot read property 'un' of undefined 2018-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

23. 打包QQ小游戏,Uncaught TypeError: Cannot read property '_doAwake' of undefined [ 96%]

打包QQ小游戏,Uncaught TypeError: Cannot read property '_doAwake' of undefined laya2.5.0项目打包成QQ小游戏,报Uncaught TypeError: Cannot read property '_doAwake' of undefined 有大佬遇到过这样的问题吗? 如下图   附件 : --> 2020-05-27 添加评论 免费帖 --> 分...

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

24. Cannot read property '_physicsUpdateList' of null 错误 [ 96%]

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

25. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 96%]

跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 偶发性bug。 Uncaught (in promise) TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler._...

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

26. Uncaught TypeError: Cannot read property 'props' of undefined [ 96%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

27. 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined [ 96%]

实例碰撞体报错,Cannot read property 'btSphereShape' of undefined Uncaught TypeError: Cannot read property 'btSphereShape' of undefined     at new SphereColliderShape (laya.d3.js:27198)     at new GameUI (GameUI.js:30)     at Function.ClassUtils.getInstance (laya.core.js:9634)   ...

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

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

【求助】关于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

29. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 95%]

调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined 代码: var Test = (function(_surper){    function Test(){         Test.super(this);     };     Laya.class(Test, "Test", _surper);     return Test;      })(ui.TestUI);     报错Uncaught Typ...

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

30. Laya3D中加载粒子特效报错Cannot read property '_update' of undefined [ 94%]

Laya3D中加载粒子特效报错Cannot read property '_update' of undefined 最新版IDE+引擎+导出工具 加载后特效播放期间报错 Cannot read property '_update' of undefined   特效是从网络上下载的,在U3D内播放正常,不太懂制作的原理,是有些属性Laya不...

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