From ac93e899d5c6331e89ccae552ecbb502a9652d01 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 27 一月 2026 18:49:43 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/Arena/ArenaChallengeWin.cs | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Main/System/Arena/ArenaChallengeWin.cs b/Main/System/Arena/ArenaChallengeWin.cs
index 93381b2..d751387 100644
--- a/Main/System/Arena/ArenaChallengeWin.cs
+++ b/Main/System/Arena/ArenaChallengeWin.cs
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using UnityEngine;
+using UnityEngine.UI;
public class ArenaChallengeWin : UIBase
{
@@ -9,6 +10,7 @@
[SerializeField] ImageEx imgMoneyIcon;
[SerializeField] TextEx txtMoneyCount;
[SerializeField] ScrollerController scrollerController;
+ [SerializeField] Button funPresetBtn;
protected override void InitComponent()
{
@@ -19,6 +21,11 @@
if (!UIHelper.CheckMoneyCount(ArenaManager.Instance.currencyType, ArenaManager.Instance.currencyValue, 1))
return;
ArenaManager.Instance.SendArenaMatch(true);
+ });
+
+ funPresetBtn.AddListener(()=>
+ {
+ FuncPresetManager.Instance.ClickBattlePreset((int)BattlePreSetType.Story);
});
}
@@ -81,5 +88,7 @@
txtFightPoint.text = UIHelper.ReplaceLargeArtNum(myFightPower);
imgMoneyIcon.SetIconWithMoneyType(ArenaManager.Instance.currencyType);
txtMoneyCount.text = UIHelper.ShowUseMoney(ArenaManager.Instance.currencyType, ArenaManager.Instance.currencyValue);
+
+ funPresetBtn.SetActive(FuncPresetManager.Instance.IsPreShow());
}
}
--
Gitblit v1.8.0