大约有 2,609 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
运行编译 报错Cannot read property 'on' of undefined 附件 : --> 2018-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Xu 赞同来自: 如图,昨天我还可以好好运行做项目,今天开启电...
来源: Laya_社区 发布时间: 20180531
发布微信小游戏,报错Cannot read property 'next' of undefined 播放动画,偶尔会卡死,报错,具体错误如下: 我看引擎底层有个注释,但是不知道引起的原因与解决方案: 附件 : --> 2019-02-13 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190213
跳转场景后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
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
播放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
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
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
发布微信项目打开 TypeError: Cannot read property 'load' of undefined 在本地运行可以,但发布项目,用微信开发工具打开报错误,提示:无法读取未定义的属性“load”,不能使用 protobuf.load,有什么解决方案吗? 附件 : --> 2019-04-27 添加...
来源: Laya_社区 发布时间: 20190427
...景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 附件 : --> 2020-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20200202
【求助】关于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