From b1f98c42a6b859b35c26e0722efb38a6e9c215be Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 22 十月 2025 11:25:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Battle/BattleWin.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Main/System/Battle/BattleWin.cs b/Main/System/Battle/BattleWin.cs
index 2fda744..317c3d3 100644
--- a/Main/System/Battle/BattleWin.cs
+++ b/Main/System/Battle/BattleWin.cs
@@ -6,6 +6,7 @@
 {
     // 缁勪欢寮曠敤
     public Transform mountPoint;
+    [SerializeField] Button fightBtn;
 
     private BattleRootNode battleRootNode = null;
 
@@ -22,6 +23,11 @@
         // 鍒濆鍖栫粍浠跺紩鐢� 缁戝畾鎸夐挳绛塙I缁勪欢浜嬩欢
 
         btnStop.AddListener(PauseGame);
+
+        fightBtn.AddListener(()=>
+        {
+            UIManager.Instance.GetUI<MainWin>()?.ClickFunc(0);
+        });
     }
 
     private void PauseGame()

--
Gitblit v1.8.0