大约有 382 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115
...t):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象...
来源: laya_api 发布时间: 20170929
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接...
来源: Laya2.0_api 发布时间: 20190513
...听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 监视陀螺仪运动。 Gyroscope once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听...
来源: laya_api 发布时间: 20170929
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 监视陀螺仪运动。 Gyroscope once(type:String, caller:*, listener:Function, args:Arr...
来源: Laya2.0_api 发布时间: 20190513
...听函数的执行域。 * @param listener 事件侦听函数。 * @param args (可选)事件侦听函数的回调参数。 * @return 此 EventDispatcher 对象。 */ on(type: string, caller: any, listener: Function, args: any[] = null) 用于向事件派发器注册指定类型的事件侦听...
来源: Laya3.0_文档 发布时间: 20251010
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231102
... //////////////////////////////////// protected _onOpen(...args: any[]): void { super._onOpen(args); this.state_ = EConnectionState.eConnected; console.log("conect to 127.0.0.1"); } protected _onMessage(msg:...
来源: Laya_社区 发布时间: 20170602
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115
...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...
来源: Laya3.0_api 发布时间: 20231115