确认购买小游戏后,小游戏购买界面按钮置灰
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
7dd93f11d3
commit
b6c8adc46f
File diff suppressed because it is too large
Load Diff
@ -206,6 +206,7 @@ export class SlotScene extends Component {
|
|||||||
let featureBuy = panel.getComponent(FeatureBuy)
|
let featureBuy = panel.getComponent(FeatureBuy)
|
||||||
this.node.addChild(panel);
|
this.node.addChild(panel);
|
||||||
featureBuy.show(this.slotBar.getBet(), this.gameInfo.BuyMul, () => {
|
featureBuy.show(this.slotBar.getBet(), this.gameInfo.BuyMul, () => {
|
||||||
|
this.slotGame.setFeatureBuyInteractable(false)
|
||||||
this.spinBtnClick(false, true);
|
this.spinBtnClick(false, true);
|
||||||
this.slotBar.featureBuySpin();
|
this.slotBar.featureBuySpin();
|
||||||
});
|
});
|
||||||
@ -456,7 +457,6 @@ export class SlotScene extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
allRollerStop() {
|
allRollerStop() {
|
||||||
|
|
||||||
this.slotGame.setFastSpin(this.gameState.isFastSpin);
|
this.slotGame.setFastSpin(this.gameState.isFastSpin);
|
||||||
this.checkHasGame();
|
this.checkHasGame();
|
||||||
// this.TotalWin.show(35, () => {
|
// this.TotalWin.show(35, () => {
|
||||||
@ -475,6 +475,7 @@ export class SlotScene extends Component {
|
|||||||
if (isExpect) {
|
if (isExpect) {
|
||||||
this.slotGame.playScatterAni(() => {
|
this.slotGame.playScatterAni(() => {
|
||||||
this.FreeSpinEnter.show(this.spinInfo.Data.FreeSpin.MaxCount, () => {
|
this.FreeSpinEnter.show(this.spinInfo.Data.FreeSpin.MaxCount, () => {
|
||||||
|
this.slotGame.setFeatureBuyInteractable(true)
|
||||||
AudioManager.instance.stopAllSFX()
|
AudioManager.instance.stopAllSFX()
|
||||||
AudioManager.instance.playBGM('Free_Mode_BGM');
|
AudioManager.instance.playBGM('Free_Mode_BGM');
|
||||||
this.slotGame.changeBg(true);
|
this.slotGame.changeBg(true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user