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

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

161. 微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined [ 92%]

微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined 在子域中简单的添加一张图片后,微信开发工具中报错 Cannot read property 'USER_DATA_PATH' of undefined 图片的url不管是本地的还是微信头像的url都会这样 主域中这...

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

162. Uncaught TypeError: Cannot read property 'props' of undefined [ 92%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

163. 2.0按钮添加事件报错 cannot read property 'on' fof undefined [ 92%]

2.0按钮添加事件报错 cannot read property 'on' fof undefined class GameLogin extends ui.login.login_bgUI { constructor() { super(); this.btn_register.on("click", this, this.ToRegisterPage); } ToRegisterPage() : void { this.loadScene("login/register_page"); } }   //调用on的时候 直接...

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

164. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 92%]

跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 偶发性bug。 Uncaught (in promise) TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler._...

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

165. laya.d3.component.animation.UVAnimations [ 92%]

...ted Public Properties PropertyDefined By currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Bo...

来源: laya_api 发布时间: 20170603

166. 播放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/"; 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

167. laya.d3.core.Gradient [ 92%]

...变。 Public Properties PropertyDefined By  colorAlphaKeysCount : int[read-only] 获取颜色Alpha数量。 Gradient  colorRGBKeysCount : int[read-only] 获取颜色RGB数量。 Gradient  maxColorAlphaKeysCount : int[read-only] 获取最大颜色Alpha帧数量。 Gradient  maxColorRGBKeysC...

来源: Laya2.0_api 发布时间: 20190513

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

...处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 附件 : --> 2020-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

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

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

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

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

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