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

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

11. dialog.removeSelf is not a function [ 80%]

...nt.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is not a function api readFile success callback function undefined 打地鼠发布...

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

12. ProgressBar 代码问题 [ 79%]

...ar  使用会出现<<<TypeError: Cannot read property 'value' of undefined>>> 我的代码为按钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{     var loading : Onloading = new Onloading();     loading.po...

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

13. 精灵添加名称 [ 78%]

...加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 和创建精灵一样new Rand()出错 Tween.to时添加滤镜 HtmlDivElement添加下划线效果不对 问题状态 最新活动: 20...

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

14. js飞机大战报错 请大神看看 [ 76%]

...         this.reset();     } ...     "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined     at new GameInfo (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22)     at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/Air...

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

15. 3D场景跳转到2D场景问题 [ 75%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 2.2.0beta4 ...

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

16. 初学者的提问,如何在场景中获取到对象 [ 75%]

...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 问题状态 最新活动: 2020-04-12 18:46 浏览: 490 关注: 1 人

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

17. 2.0 beta UI Button无法获取 [ 74%]

...rivate onAttack(): void { // TODO } } 上面代码,btn_attack 按钮是 undefined 对象,没有被初始化的,是我做法不对么?? 另外,试了其他UI,加入Button组件,都是没有被初始化的,所有Button组件都是 undefined。 附件 : --> 2018-09-26 添加评论 ...

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

18. socket.sent [ 72%]

...送字符串的形式。 //报错TypeError: Cannot read property 'send' of undefined //    at Btn1.Btn1On (file:///K:/laya/mylaya11/bin/js/Btn1.js:21:20) //    at EventHandler.__proto.runWith (file:///K:/laya/mylaya11/bin/libs/laya.core.js:711:59) //    at Button.__proto.event (file:///K:/laya...

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

19. list中加的button不能接收点击事件 求一个list中加button的demo [ 71%]

...nsole.log("3333333333333");         if (cell.useBtn.clickHandler == undefined) {             cell.useBtn.on("click", this, this.onItemUse, [index]);         }     }     onItemUse(index):void{         console.log("11111111111111111");     }     onSelect():v...

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

20. 对象监听另外一个脚本的执行方法不被执行 [ 70%]

...错 Explain.ts:11 TypeError: Cannot read property 'AllTitleButtonClick' of undefined Explain.ts:31 at Explain.onAwake (file:///E:/NewLayaProfesson/Edbox_FruitSlickSecond/Edbox_FruitSlickSecond/bin/js/bundle.js:40:128) 这种情况怎么操作的 2019-04-10 添加评论 免费帖 --> 分享 微博 QZ...

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