diff --git a/assets/Game/Scripts/BigWin.ts b/assets/Game/Scripts/BigWin.ts index 583a93c..272d6c2 100644 --- a/assets/Game/Scripts/BigWin.ts +++ b/assets/Game/Scripts/BigWin.ts @@ -119,10 +119,10 @@ export class BigWin extends Component { .start(); this.startBubbleAnimation(actionNode); - // this.playSpineAnimation(actionNode, 'ruchang', false, () => { - // this.playSpineAnimation(actionNode, 'chixu', true); + this.playSpineAnimation(actionNode, 'ruchang', false, () => { + this.playSpineAnimation(actionNode, 'chixu', true); - // }); + }); } startScrolling(isFirst: boolean, curType: WIN_TYPE, startValue: number, targetValue: number, callBack: () => void) { @@ -262,10 +262,7 @@ export class BigWin extends Component { } if (activeNode) { - // this.playSpineAnimation(activeNode, 'xiaoshi', false, onComplete); - this.scheduleOnce(() => { - onComplete() - }, 0.5) + this.playSpineAnimation(activeNode, 'xiaoshi', false, onComplete); } else { onComplete(); } @@ -284,12 +281,9 @@ export class BigWin extends Component { } if (activeNode) { - // this.playSpineAnimation(activeNode, 'xiaoshi', false, () => { - // this.closeAndDestroy(callBack); - // }); - this.scheduleOnce(() => { + this.playSpineAnimation(activeNode, 'xiaoshi', false, () => { this.closeAndDestroy(callBack); - }, 0.5) + }); } else { this.closeAndDestroy(callBack); }