From dce8428efd8b4e78f6e8e8f976f1e8dd4b4ba125 Mon Sep 17 00:00:00 2001 From: TJH Date: Wed, 10 Dec 2025 15:24:07 +0800 Subject: [PATCH] 1 --- assets/Game/scripts/SlotBar.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/assets/Game/scripts/SlotBar.ts b/assets/Game/scripts/SlotBar.ts index 2bae24b..3e65502 100644 --- a/assets/Game/scripts/SlotBar.ts +++ b/assets/Game/scripts/SlotBar.ts @@ -646,7 +646,6 @@ export class SlotBar extends Component { //111 SPIN_ACTIVE = true; - MSG_ACTIVE = true; BTNS1_ACTIVE = true; BTNS2_ACTIVE = false; BTNS3_ACTIVE = false; @@ -657,13 +656,12 @@ export class SlotBar extends Component { this.BTNS2_ACTIVE = this.btns2.active; this.BTNS3_ACTIVE = this.btns3.active; this.SPIN_ACTIVE = this.spinNode.active; - this.MSG_ACTIVE = this.msg.active; this.btns1.active = false; this.btns2.active = false; this.btns3.active = false; this.spinNode.active = false; - this.msg.active = false; + this.msg.setPosition(0, -900, 0) this.showLeftCount(leftCount); } @@ -689,7 +687,7 @@ export class SlotBar extends Component { this.btns2.active = this.BTNS2_ACTIVE; this.btns3.active = this.BTNS3_ACTIVE; this.spinNode.active = this.SPIN_ACTIVE; - this.msg.active = this.MSG_ACTIVE; + this.msg.setPosition(0, -680, 0) } // 设置按钮可以点击并且置灰的函数