大约有 416 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(141) laya_api(104) Laya2.0_api(96) Laya3.0_api(61) Laya3.0_文档(9) Laya2.0_文档(3) Laya_示例(1) Laya2.0_示例(1)
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果...
来源: Laya2.0_api 发布时间: 20190513
...链接 提交 1 个回复 木唯 赞同来自: this._activityBtn.offClick 移除监听 this._activityBtn.hasClickListener(); 判断监听 2020-04-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 木唯 相关问题 请问有没有方法...
来源: Laya_社区 发布时间: 20200420
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果...
来源: Laya2.0_api 发布时间: 20190513
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...回复 Laya_Aaron 赞同来自: destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 ...
来源: Laya_社区 发布时间: 20180605
...侦听器能够接收事件通知,此侦听事件响应一次后则自动移除侦听。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node removeAllCompone...
来源: laya_api 发布时间: 20170929
...质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次,此时所有节点和组件以及创建完毕 */ public override function onAwake():void {} /** * 脚本每次启动后执行,例如被添加...
来源: Laya2.0_文档 发布时间: 20210715
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513