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

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

11. laya.events.EventDispatcher [ 94%]

...有侦听器。 EventDispatcher  offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher  on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...

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

12. laya.events.EventDispatcher_API3.0 [ 92%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Defined in laya/events/EventDispatcher.ts:146 移除caller为target的...

来源: Laya3.0_api 发布时间: 20231115

13. laya.d3.core.Camera [ 92%]

...oid[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 C...

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

14. 怎么移除鼠标监听事件 [ 91%]

怎么移除鼠标监听事件 怎么移除鼠标监听事件?在文档里面没看到有移除监听这一块,求大神正解。 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: V...

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

15. laya.events.EventDispatcher [ 90%]

...使侦听器能够接收事件通知,此侦听事件响应一次后自动移除EventDispatcherMethod Detailevent()method public function event(type:String, data:* = null):Boolean 派发事件。 Parameters type:String — 事件类型。  data:* (default = null) — (可选)回调数据...

来源: laya_api 发布时间: 20170929

16. laya.d3.webxr.core.AxiGamepad_API3.0 [ 90%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

17. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 90%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

18. laya.device.Shake_API3.0 [ 89%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

19. laya.utils.TimeLine [ 89%]

...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...

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

20. laya.device.motion.Gyroscope_API3.0 [ 89%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115