大约有 269 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
...。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接...
来源: Laya2.0_api 发布时间: 20190513
...s.searchButton(child); } } } //处理按钮缩放事件 onButtonScaleEvent(target: Laya.Button) { target.on(Laya.Event.MOUSE_DOWN, this, this._onScaleBtnDown); target.on(Laya.Event.MOUSE_UP, this, this._onScaleBtnOut); } //按钮放大 _onScaleBtnDown(e: Laya.Event) { console.log("开始缩放"); e....
来源: Laya3.0_文档 发布时间: 20251010
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: Laya3.0_api 发布时间: 20231115
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: Laya3.0_api 发布时间: 20231115
...hrome出现错误: Error processing launch: Error Could not attach to main target 如何设置Sprite的宽高和点击区域? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. Laya2.12.0项目出现卡顿现象(必现) 关于适配采用showAll后留白部分的颜色问...
来源: Laya_社区 发布时间: 20251021
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: Laya3.0_api 发布时间: 20231115
...2.6 删除指定作用域的所有侦听 offAllCaller /** * 移除caller为target的所有事件侦听 * @param caller caller对象 */ offAllCaller(caller: any) 用于从事件分发器对象中删除指定作用域的所有侦听器。例如,uiBtn按钮注册了多个事件的侦听,可以用of...
来源: Laya3.0_文档 发布时间: 20251010
...。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接...
来源: Laya2.0_api 发布时间: 20190513
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: 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