From 973edc44a04dceb8b48a32ca912e6167f86189d4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 25 八月 2025 17:38:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/HeroUI/HeroBaseWin.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Main/System/HeroUI/HeroBaseWin.cs b/Main/System/HeroUI/HeroBaseWin.cs
index 6f4d8a7..1680606 100644
--- a/Main/System/HeroUI/HeroBaseWin.cs
+++ b/Main/System/HeroUI/HeroBaseWin.cs
@@ -8,11 +8,19 @@
 /// </summary>
 public class HeroBaseWin : FunctionsBaseWin
 {
+    [SerializeField] Button callBtn;
 
     /// </summary>
     protected override void InitComponent()
     {
         base.InitComponent();
+
+        //鎷涘嫙涓哄彟澶栦竴涓晫闈紝閬垮厤鍏抽棴鏃舵樉绀虹┖鐧�
+        callBtn.AddListener(()=>
+        { 
+            //鎵撳紑鎷涘嫙鐣岄潰
+            UIManager.Instance.OpenWindow<HeroCallWin>();
+        });
     }
 
 
@@ -48,6 +56,8 @@
             case 1:
                 //currentSubUI = UIManager.Instance.OpenWindow<HeroCollectionsWin>();
                 break;
+            case 2:
+                break;
             default:
                 Debug.LogWarning("鏈煡鐨勬爣绛剧储寮�: " + functionOrder);
                 break;

--
Gitblit v1.8.0