diff --git a/assets/Game/scripts/game/TotalWin.ts b/assets/Game/scripts/game/TotalWin.ts index c226d57..6ddd242 100644 --- a/assets/Game/scripts/game/TotalWin.ts +++ b/assets/Game/scripts/game/TotalWin.ts @@ -26,6 +26,9 @@ export class TotalWin extends Component { closeCallBack: (() => void) | null = null; + protected onLoad(): void { + // this.show(505000,null) + } show(winScore: number, closeCallBack: (() => void) | null = null) { this.totalWinUINode = NodePoolManager.instance.getNodeFromPoolStatic('totalWinUI', this.totalWinUiPre); @@ -59,7 +62,7 @@ export class TotalWin extends Component { startScoreAni() { // 修改这里的滚动逻辑 - let startScore = this.currentWinScore; + let startScore = 0; let startTime = 0; this.isScrolling = true;