From bdd6aa21fb17cd7785b3b875064f4347ed20b5ea Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 29 九月 2025 17:50:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/MainLevel/MainBossEnterWin.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Main/System/MainLevel/MainBossEnterWin.cs b/Main/System/MainLevel/MainBossEnterWin.cs
index 1b5962c..058acbf 100644
--- a/Main/System/MainLevel/MainBossEnterWin.cs
+++ b/Main/System/MainLevel/MainBossEnterWin.cs
@@ -22,6 +22,7 @@
     [SerializeField] Button rankBtn;
     [SerializeField] ItemCell[] passAwards;
     [SerializeField] Button fightBtn;
+    [SerializeField] Image fightIcon;
     [SerializeField] ScrollerController dropItemScroller;
 
 
@@ -108,6 +109,7 @@
         var canChallengeBoss = AutoFightModel.Instance.CanChallengeBoss();
 
         fightBtn.SetInteractable(canChallengeBoss);
+        fightIcon.SetActive(canChallengeBoss);
 
         for (int i = 0; i < passAwards.Length; i++)
         {
@@ -152,8 +154,8 @@
             case PlayerDataType.ExAttr2:
                 var canChallengeBoss = AutoFightModel.Instance.CanChallengeBoss();
 
-                fightBtn.interactable = canChallengeBoss;
-                fightBtn.SetColorful(null, canChallengeBoss);
+                fightBtn.SetInteractable(canChallengeBoss);
+                fightIcon.SetActive(canChallengeBoss);
                 break;
         }
 

--
Gitblit v1.8.0