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

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

121. IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null [ 92%]

IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 附件 : --> 2020-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

122. 发布微信项目打开 TypeError: Cannot read property 'load' of undefined [ 92%]

发布微信项目打开 TypeError: Cannot read property 'load' of undefined 在本地运行可以,但发布项目,用微信开发工具打开报错误,提示:无法读取未定义的属性“load”,不能使用 protobuf.load,有什么解决方案吗? 附件 : --> 2019-04-27 添加...

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

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

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

124. Cannot read property 'load' of null [ 92%]

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

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

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

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

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

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

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

127. TypeError: Cannot set property 'pivotX' of null 打开弹窗UI时报错 [ 92%]

TypeError: Cannot set property 'pivotX' of null 打开弹窗UI时报错 附件 : --> 2020-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 159*****388 赞同来自: 请问问题解决了吗   2020-04-05 0 0 ...

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

128. 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

129. 播放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

130. 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