确认购买小游戏后,小游戏购买界面按钮置灰
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 44s

This commit is contained in:
TJH 2025-10-14 16:47:59 +08:00
parent 7dd93f11d3
commit b6c8adc46f
2 changed files with 1527 additions and 1504 deletions

File diff suppressed because it is too large Load Diff

View File

@ -206,6 +206,7 @@ export class SlotScene extends Component {
let featureBuy = panel.getComponent(FeatureBuy)
this.node.addChild(panel);
featureBuy.show(this.slotBar.getBet(), this.gameInfo.BuyMul, () => {
this.slotGame.setFeatureBuyInteractable(false)
this.spinBtnClick(false, true);
this.slotBar.featureBuySpin();
});
@ -456,7 +457,6 @@ export class SlotScene extends Component {
}
allRollerStop() {
this.slotGame.setFastSpin(this.gameState.isFastSpin);
this.checkHasGame();
// this.TotalWin.show(35, () => {
@ -475,6 +475,7 @@ export class SlotScene extends Component {
if (isExpect) {
this.slotGame.playScatterAni(() => {
this.FreeSpinEnter.show(this.spinInfo.Data.FreeSpin.MaxCount, () => {
this.slotGame.setFeatureBuyInteractable(true)
AudioManager.instance.stopAllSFX()
AudioManager.instance.playBGM('Free_Mode_BGM');
this.slotGame.changeBg(true);