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

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

1. Laya.EventDispatcher off 删除侦听器 [ 100%]

Laya.EventDispatcher off 删除侦听器       var eventDis = new Laya.EventDispatcher()     eventDis.on('TEST_EVENT_DIS', this, someEventHandler, null)     eventDis.off('TEST_EVENT_DIS', this, another_eventHandler, false) off 怎样才能 从 EventDispatcher 对象中删除侦听器? ...

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

2. 报错:LayaAir not allow import flash.events.EventDispatcher[ 98%]

报错:LayaAir not allow import flash.events.EventDispatcher? 2016-12-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 可以用!除了SDK下的顶级报和数据类型外,其他...

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

3. EventDispatcher接收不到参数 [ 90%]

EventDispatcher接收不到参数 var Dispatcher = (function(_super){ function Dispatcher(){ Dispatcher.super(this); }; //注册类 Laya.class(Dispatcher,"Dispatcher",_super); //实例EventDispatcher类 Dispatcher.eventDispatcher = new Laya.EventDispatcher(); //发送事件 Dispatcher.Emit = functi...

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

4. EventDispatcher事件派发收不到问题 [ 87%]

EventDispatcher事件派发收不到问题 我有一个类继承了EventDispatcher,然后调用event派发自定义事件,另外一个类监听了这个自定义事件,为什么收不到事件消息呢? 现在是只能监听相同类里面派发的消息。 2016-12-09 添加评论 免费帖...

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

5. 请教,2.0里ShurikenParticleSysmtem不继承EventDispatcher,如何监听粒子特效完成事件呀? [ 85%]

请教,2.0里ShurikenParticleSysmtem不继承EventDispatcher,如何监听粒子特效完成事件呀? 2019-04-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 看一下  ShurikenPar...

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

6. http 请求 once 的 回调参数,如何传递和接收? [ 82%]

...function once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦听事件响应一次后自动移除。 Parameters type:String — 事件的类型。  ...

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

7. unity 带出报错~ArgumentException: Invalid path [ 81%]

...ments/Events/MouseCaptureDispatchingStrategy.cs:93) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at D:/unity/Modules/UIElements/EventDispatcher.cs:280) UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIE...

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

8. swf预加载问题 [ 80%]

...mport laya.ani.swf.MovieClip; import laya.events.Event; import laya.events.EventDispatcher; import laya.net.Loader; import laya.utils.Handler; public class BeforLoader extends EventDispatcher { public static const BEFORLOADERFINISH:String = "BeforLoaderFinish"; private const ADDONE:String = "bingan/...

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

9. [LayaAir3]LayaAir3.0UnityPlugin 导出出错 [ 79%]

...el) (at <383db090fd544f24b368fd389016a28f>:0) UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <383db090fd544f24b368fd389016a28f>:0) UnityEngine.UIEl...

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

10. unity 通过laya 导出 灵异事件 [ 79%]

...ments/Events/MouseCaptureDispatchingStrategy.cs:93) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:280) UnityEngine.UIElements.EventDispatcher.Dispatch...

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