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

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

101. 加载unity5.6.1导出来的场景提示Cannot read property 'charAt' of underfined [ 93%]

加载unity5.6.1导出来的场景提示Cannot read property 'charAt' of underfined   附件 : --> myLaya.zip 2018-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 用了什么不支...

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

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

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

103. Cannot read property 'load' of null [ 93%]

LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...

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

104. 发布微信小游戏,报错Cannot read property 'events' of undefined [ 93%]

发布微信小游戏,报错Cannot read property 'events' of undefined 项目发布后报错,自己的项目用的1.7.16 下载了官方的实例发布后的code跟自己的code比对了下··对应位置的代码是不一样的, 同时我将项目的引擎升级到1.7.20,依然在报错...

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

105. Cannot read property 'rayCast' of undefined [ 92%]

Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...

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

106. LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null [ 92%]

LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null var txt:Label = cell.getChildByName("listNumber") as Label;  txt.text = data.listNumber;   调试时会报:LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null 引擎版本 LayaAirAS3_1.7....

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

107. 播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 [ 92%]

播放swf动画的时候,会出现 Cannot read property 'dir' of undefined崩溃 这个是出错信息 this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/";    我们采用的播放模式是this.effectMovieClip.load(effectsPath,true);  effects...

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

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

2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null 上个帖子点下面确认发起后哪也找不到了,很奇怪,再发一次。 上面截图来自 Render 的rinitRender  方法 总返回null 已上传附件 附件 : --> wxgame.zip 2022-06-16 添加评论 ...

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

109. laya 1.7.8beta 运行protobuf的例子,报错“cannot read property ‘create’of null” [ 92%]

laya 1.7.8beta 运行protobuf的例子,报错“cannot read property ‘create’of null” 2017-08-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ilovelaya 赞同来自: index里面两个文件也是引入...

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

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

微信小游戏 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