From 862aeae51fdc2c8abd8753ac8d72c2ef2f07c03e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 31 三月 2026 11:39:32 +0800
Subject: [PATCH] 0312 服务器列表查找增加测试组
---
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