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

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

1. TypeError: relativePath is undefined [ 100%]

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

2. Cannot read property 'offCanplay' of null [ 99%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read proper...

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

3. layabox加载fairygui发布的二进制文件报错 [ 96%]

...s.getProgress()); }   调试结果 (no filename):1 //res/Bag.json [21357]:undefined c.warn @ (no filename):1 (no filename):1 url:res/Bag.json (no filename):1 content null (no filename):1 [warn]Retry to load: res/Bag.json c.warn @ (no filename):1 (no filename):1 //res/Bag.json [116]:undefined c.warn...

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

4. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 96%]

...有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined 现象是消息没发出去 超时 资源可以正常下载  麻烦大大帮忙看下吧 2020-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

5. Uncaught TypeError: Cannot read property 'XXX' of undefined [ 92%]

Uncaught TypeError: Cannot read property 'XXX' of undefined private var spe:Sprite; private function showApe():void {             spe = new Sprite();             spe.mouseEnabled = true;             spe.x = 100;             spe.y = 100;             spe.w...

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

6. ui组件 TextInput event的事件为什么都触发不了 [ 91%]

...加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined event自定义事件的问题 为什么给Sprite容器添加点击事件没反应 3d物理不能触发onCollisionEnter事件 图片添加点击事件 有的不生效 遮罩点击事件 鼠标滚轮滚动事件 问题...

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

7. panel问题 [ 91%]

...于scrollBar移除了mouseUp事件,所以此时的this._events[type]是undefined,而源码中又去取undefined的run属性,肯定会报错,可以改成如下几句 let newListener=this._events[type]; if (listeners.length === 0 && this._events && newListener&& !newListe...

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

8. this.btClose1.on(Laya.Event.CLICK,null,this.close);报错 [ 91%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined ide 2.4 layaair2-cmd 编译报错 IDE通过.ui自动生成的ui代码报错 播放背景音乐的问题 刚打开 桌面调...

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

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

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

10. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 89%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined ide 2.4 layaair2-cmd 编译报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject ...

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