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

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

1. laya消息机制上的大bug [ 100%]

laya消息机制上的大bug Laya消息机制中offAllCaller自身逻辑错误:(涵盖版本:所有) laya.core.js:1001行 offAllCaller函数: 在调用this.off(name,caller,null);时 listener传入参数为空。 laya.core.js:951行 off函数的实现方法中: if (listener !=null){ 直...

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

2. [LayaAir3]Script类型组件在销毁时没有在setupScript时添加的节点事件监听 [ 65%]

...pt组件之前,增加对当前owner的监听移除,即增加this.owner.offAllCaller(this); 附件 : --> 2025-07-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: 已在3.3.0正式版中...

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

3. [LayaAir3]GList点击出现连续点击问题 [ 63%]

...注册事件之前,先 off 掉吧,例如  item.getChildByName('name').offAllCaller(this); item.getChildByName('name').on(Laya.Event.CLICK, this, ()=>{ ... }     2025-10-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 17548911...

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

4. web端ios这边加载压缩的图片加载报错 [ 63%]

...(Event.LOADED, data instanceof Array ? [data] : data); } else { this._http.offAllCaller(this); Loader._loaders.push(this); if (!Loader._isWorking) Loader.checkNext(); } } 2020-02-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 135*****...

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

5. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 58%]

...建的组件 todo } protected onHide() { super.onHide(); this.contentPane.offAllCaller(this); } private startGen(): void { // todo } } class SplitAtlasSetting { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "SplitAtlasSetting", catalogBarStyle: "hidden", properties: [ { nam...

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

6. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 57%]

... ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf();   } });  })); }  genSpine(url, handler: Laya.Handler) { var templet = new Laya.SpineTemplet(Laya.SpineVersion.v4_0); templet.on(Laya.Event.COMPLETE, handler.caller, handler.method);...

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