From e18e6f74e211bfb65747cac364f942b41620645c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 14 十一月 2025 18:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/MainLevel/MainBossEnterWin.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Main/System/MainLevel/MainBossEnterWin.cs b/Main/System/MainLevel/MainBossEnterWin.cs
index 8d0ad2a..c86b5d5 100644
--- a/Main/System/MainLevel/MainBossEnterWin.cs
+++ b/Main/System/MainLevel/MainBossEnterWin.cs
@@ -24,6 +24,7 @@
     [SerializeField] Button fightBtn;
     [SerializeField] Image fightIcon;
     [SerializeField] ScrollerController dropItemScroller;
+    [SerializeField] Button heroRoadBtn;
 
 
     protected override void InitComponent()
@@ -39,6 +40,11 @@
         });
 
         fightBtn.AddListener(FightBoss);
+
+        heroRoadBtn.AddListener(() =>
+        {
+            UIManager.Instance.OpenWindow<DayMissionBaseWin>(2);
+        });
     }
 
     protected override void OnPreOpen()
@@ -129,6 +135,8 @@
             }
         }
         bossBG.SetOrgSprite(chapterConfig.BG, "MainLevel");
+
+        heroRoadBtn.SetActive(FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.DayMission));
     }
 
 

--
Gitblit v1.8.0