大约有 439 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(59) Laya2.0_示例(8) Laya_示例(7) Laya3.0_文档(6) Laya2.0_文档(6)
...ChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop ...
来源: Laya3.0_api 发布时间: 20231102
... 再者,如果就按你这个路数,你在 on 注册事件之前,先 off 掉吧,例如 item.getChildByName('name').offAllCaller(this); item.getChildByName('name').on(Laya.Event.CLICK, this, ()=>{ ... } 2025-10-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20251021
...止滚动文本 */ private finishScrollText(e: Event): void { Laya.stage.off(Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠标滚动文本 */ private scrollText(e: Event): void { var nowX: number = this.txt.mouseX; var nowY: number = t...
来源: Laya2.0_文档 发布时间: 20210715
...ChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instant...
来源: Laya3.0_api 发布时间: 20231115
...dler():void { trace("KouTu.upHandler()"); // box.stopDrag(); gameContainer.off(Event.MOUSE_MOVE, this, moveHandler); } private function downHandler():void { trace("KouTu.downHandler()"); // box.startDrag(); gameContainer.on(Event.MOUSE_MOVE, this, moveHandler); } } } 我实现的是刮刮奖模式 ...
来源: Laya_社区 发布时间: 20170315
...邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 用off试一下 2018-01-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiahaijiao 相关问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 分享:自...
来源: Laya_社区 发布时间: 20180131
...nts.Event):void{ console.log("MOUSE_UP"); this.off(laya.events.Event.MOUSE_MOVE ,this, this.onMouseMove); if(this.isMove) { let moveLen = this.onMouseDownX - e.target.mouseX; let offsetY = Math.abs(thi...
来源: Laya_社区 发布时间: 20160823
...ChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instant...
来源: Laya3.0_api 发布时间: 20231115
...ChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatr...
来源: Laya3.0_api 发布时间: 20231115
...ChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instant...
来源: Laya3.0_api 发布时间: 20231115