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

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

31. TypeError: Cannot read property 'length' of null [ 94%]

TypeError: Cannot read property 'length' of null layaide2.4.0a场景包含预制体hero.prefab,b场景也包含预制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Poo...

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

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

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

33. discard property,please use transform's property instead [ 94%]

discard property,please use transform's property instead 运行官网的3D例子时,浏览器一直报这个 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 就是那个属性...

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

34. Cannot read property 'events' of undefined [ 94%]

Cannot read property 'events' of undefined 打包微信后,提示events为空.Object.defineProperty(laya.events.EventDispatcher.prototype,"_events",{enumerable:false,writable:true}); 手动log"laya"时发现为undefined 附件 : --> 2018-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

35. 微信小游戏 code.js 报错 Cannot read property 'apply' of undefined [ 93%]

微信小游戏 code.js 报错 Cannot read property 'apply' of undefined WAGame.js:4 gameThirdScriptError Cannot read property 'apply' of undefined;at socketTask.onopen callback function TypeError: Cannot read property 'apply' of undefined     at Function.eof (http://127.0.0.1:25423/game/code.js:...

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

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

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

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

37. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 93%]

2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null Cannot read property 'LESS' of null TypeError: Cannot read property 'LESS' of null     at Function.value (http://127.0.0.1:43542/game/li ... :19438)     at Object.value [as init] (http://127.0.0.1:43542/game/li ....

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

38. 请问 这是什么错误 : "Cannot read property '$_TID' of undefined" 就是我通过键盘快捷键控制人物移动时 一直会出现。 [ 93%]

请问 这是什么错误 : "Cannot read property '$_TID' of undefined" 就是我通过键盘快捷键控制人物移动时 一直会出现。 2017-12-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 LM2008199...

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

39. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 93%]

TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' 使用1.7.15或16,在项目总增加如下几句,在layaAir内测试可以正常(以下资源是拷贝自GitHub上官网的范例包下的资源: // 创建天空盒 var skyBox:Laya.SkyBox = new Laya.SkyBox(); //清除标...

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

40. TypeError: Laya.MovieClip is not a constructor [ 92%]

TypeError: Laya.MovieClip is not a constructor let mc:Laya.MovieClicp = new Laya.MoveClip();     报错: TypeError: Laya.MovieClip is not a constructor preload.js:55 at XLoadUIScript.32.XLoadUIScript._init (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js:3001:18)   at XLoadUIS...

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