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

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

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

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

22. TypeError: this._childs is null [ 86%]

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

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

23. 使用RigidBody刚体报错Cannot read properties of undefined (reading '__className') [ 86%]

使用RigidBody刚体报错Cannot read properties of undefined (reading '__className') 附件 : --> LayaDemo1.zip 2023-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox小高 赞同来自:   2023-03-1...

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

24. Cannot read property 'call' of undefined [ 86%]

Cannot read property 'call' of undefined 当我新建GameScene并添加到舞台时,抛出了异常,求助该怎么解决   详细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/la...

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

25. TypeError: relativePath is undefined [ 86%]

TypeError: relativePath is undefined 文档 --> 扩展模块 --> 用LayaAir引擎解析Tiled Map地图 我的代码完全是复制的,一个字都不差 但是运行之后报错:TypeError: relativePath is undefined 文档传送门:https://ldc.layabox.com/doc/?nav=zh-js-3-4-0 2017-12-05 ...

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

26. Cannot read property 'call' of undefined [ 86%]

Cannot read property 'call' of undefined 当我新建GameScene并添加到舞台后,出现如下异常:   详细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)...

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

27. document.lastModified为undefined [ 85%]

document.lastModified为undefined 您好,请问在index.html中,不能使用document.lastModified吗?     附件 : --> 2017-06-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: ww...

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

28. ani动画问题,cannot read property '_tf' of null [ 85%]

ani动画问题,cannot read property '_tf' of null showAni(panel:Laya.Box) {             if (!panel.contains(this)) {                 panel.addChild(this);                 this.pos(0,110);             }             let i = 1;             this.ani1.play(0, f...

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

29. Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget [ 85%]

Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget 升级1.7.0之后运行就会出现这个错误。   图集不能加载的问题,请顺便帮我检查下,谢谢 附件 : --> longCard.zip 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

30. 使用高度图的时候 Cannot read property 'width' of undefined [ 85%]

使用高度图的时候 Cannot read property 'width' of undefined var terrainSprite = Laya.MeshTerrainSprite3D.createFromMeshAndHeightMap(terrain.meshFilter.sharedMesh, texture, 45.58879852294922, -45.58879852294922); //报错:Cannot read property 'width' of undefinedDemo见附件。   附件 :...

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