From e2c6086f1558aab72e5a7c1c4de9c14d0f05b767 Mon Sep 17 00:00:00 2001 From: TJH Date: Mon, 13 Oct 2025 15:21:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=B8=B8=E6=88=8F=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E7=95=8C=E9=9D=A2currentWinScore=E6=9C=AA=E9=87=8D=E5=88=B6?= =?UTF-8?q?=E4=B8=BA0=E5=AF=BC=E8=87=B4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/scripts/game/TotalWin.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;