小游戏结算界面currentWinScore未重制为0导致的bug
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 44s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 44s
This commit is contained in:
parent
d2769332a9
commit
e2c6086f15
@ -26,6 +26,9 @@ export class TotalWin extends Component {
|
|||||||
|
|
||||||
closeCallBack: (() => void) | null = null;
|
closeCallBack: (() => void) | null = null;
|
||||||
|
|
||||||
|
protected onLoad(): void {
|
||||||
|
// this.show(505000,null)
|
||||||
|
}
|
||||||
|
|
||||||
show(winScore: number, closeCallBack: (() => void) | null = null) {
|
show(winScore: number, closeCallBack: (() => void) | null = null) {
|
||||||
this.totalWinUINode = NodePoolManager.instance.getNodeFromPoolStatic('totalWinUI', this.totalWinUiPre);
|
this.totalWinUINode = NodePoolManager.instance.getNodeFromPoolStatic('totalWinUI', this.totalWinUiPre);
|
||||||
@ -59,7 +62,7 @@ export class TotalWin extends Component {
|
|||||||
|
|
||||||
startScoreAni() {
|
startScoreAni() {
|
||||||
// 修改这里的滚动逻辑
|
// 修改这里的滚动逻辑
|
||||||
let startScore = this.currentWinScore;
|
let startScore = 0;
|
||||||
let startTime = 0;
|
let startTime = 0;
|
||||||
this.isScrolling = true;
|
this.isScrolling = true;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user