From b97ca7fc69d2cddeaf1af2d4e59ba4b413034784 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 12 三月 2026 16:51:46 +0800
Subject: [PATCH] 59 邮件系统-客户端  邮件标题支持参数匹配

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

diff --git a/Main/System/HeroUI/HeroPosWin.cs b/Main/System/HeroUI/HeroPosWin.cs
index c911e34..7ed586b 100644
--- a/Main/System/HeroUI/HeroPosWin.cs
+++ b/Main/System/HeroUI/HeroPosWin.cs
@@ -43,6 +43,9 @@
     [SerializeField] Transform caseesObj;
     FuncPresetChooseCells presetChooseCells;
 
+    [SerializeField] Button funPresetBtn;
+
+
     Sequence sequence;
     CancellationTokenSource _cts;
     Queue<int> showConnectTipQueue = new Queue<int>();
@@ -95,6 +98,11 @@
         presetObj.transform.SetParentEx(caseesObj, Vector3.zero, Quaternion.identity, Vector3.one);
         presetChooseCells = presetObj.GetComponent<FuncPresetChooseCells>();
         presetChooseCells.ChangeAlignment(TextAnchor.MiddleCenter);
+
+        funPresetBtn.AddListener(()=>
+        {
+            FuncPresetManager.Instance.ClickBattlePreset((int)BattlePreSetType.Story);
+        });
     }
 
 
@@ -162,6 +170,8 @@
         fightPowerText.text = UIHelper.ReplaceLargeArtNum(FightPowerManager.Instance.GetTeamFightPower(HeroUIManager.Instance.selectTeamType, true));
 
         presetChooseCells.Display((int)BattlePreSetType.Story, (int)FuncPresetType.Team);
+
+        funPresetBtn.SetActive(FuncPresetManager.Instance.IsPreShow());
     }
 
     void RefreshFlyHead()

--
Gitblit v1.8.0