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) }