From 10de375739e37c33b5fbea9e3b2424973bff1db4 Mon Sep 17 00:00:00 2001 From: TJH Date: Thu, 25 Sep 2025 17:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=99=A4=E5=8A=A8=E7=94=BB=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=97=B6=E9=95=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/scripts/game/Icon.ts | 6 +++--- assets/Game/scripts/game/Roller.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/Game/scripts/game/Icon.ts b/assets/Game/scripts/game/Icon.ts index fe3719d..a2e55ac 100644 --- a/assets/Game/scripts/game/Icon.ts +++ b/assets/Game/scripts/game/Icon.ts @@ -618,8 +618,8 @@ export class Icon extends Component { // 1.2s playDeleteAni() { // 从对象池获取或重用winSpine节点 - let winSpine = NodePoolManager.instance.getNodeFromPoolStatic('winSpine', this.winSpinePrefab); - // let winSpine = instantiate(this.winSpinePrefab) + // let winSpine = NodePoolManager.instance.getNodeFromPoolStatic('winSpine', this.winSpinePrefab); + let winSpine = instantiate(this.winSpinePrefab) winSpine.setParent(this.node); @@ -640,7 +640,7 @@ export class Icon extends Component { children[i].active = false; } winSpine.removeFromParent(); - NodePoolManager.instance.putNodeToPool('winSpine', winSpine); + // NodePoolManager.instance.putNodeToPool('winSpine', winSpine); }, 1.2) // skeleton.setCompleteListener(() => { // skeleton.setCompleteListener(null); diff --git a/assets/Game/scripts/game/Roller.ts b/assets/Game/scripts/game/Roller.ts index 57ab92d..0b5e01b 100644 --- a/assets/Game/scripts/game/Roller.ts +++ b/assets/Game/scripts/game/Roller.ts @@ -686,12 +686,12 @@ export class Roller extends BaseRoller { iconComponent.playDeleteAni(); this.scheduleOnce(() => { this.iconFactory.recycleIcon(iconNode); - }, 1.2) + }, 1.5) } this.scheduleOnce(() => { this.node.emit(ROLLER_EVENT.ICON_DELETED, this._rollerId); - }, 1.2) + }, 1.5) }