大约有 486 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
...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
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果...
来源: Laya2.0_api 发布时间: 20190513
...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
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果...
来源: Laya2.0_api 发布时间: 20190513
...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
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...meout: Geolocation.timeout, maximumAge: Geolocation.maximumAge }); } /** * 移除<code>watchPosition</code>安装的指定处理器。 * @param id */ static clearWatch(id: number): void { Geolocation.navigator.geolocation.clearWatch(id); } 以下示例同第1节示例的测试方法相...
来源: Laya3.0_文档 发布时间: 20251010
...添加道具 还记得前面我们讲Floor是怎么生成的吗? 每次移除屏幕外面我们都会创建一个新的Floor对象 如果游戏玩久了 可能就会很卡 造成对象太多 其实我想一想 跑出屏幕外面的地板是不是可以重复利用? 答案是肯定可以得~~...
来源: Laya_社区 发布时间: 20160803
...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 发布时间: 20231102
...所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦...
来源: Laya2.0_api 发布时间: 20190513