From 441293951ffa59306cf4b0e3ee95fc1bafe793c1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Wed, 4 Jun 2025 21:07:59 +0800 Subject: [PATCH] 1 --- .../Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index 30796c5b..0011a51a 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -428,6 +428,10 @@ namespace GameLogic m_rectSpeed.GetChild(i).gameObject.SetActive(false); } + for (int i = 0; i < m_rectTopFx.childCount; i++) + { + m_rectTopFx.GetChild(i).gameObject.SetActive(false); + } if (teamId > m_rectBgList.childCount) @@ -440,6 +444,7 @@ namespace GameLogic m_rectSdx.GetChild(teamId).gameObject.SetActive(true); m_rectSceneFx.GetChild(teamId).gameObject.SetActive(true); m_rectSpeed.GetChild(teamId).gameObject.SetActive(true); + m_rectTopFx.GetChild(teamId).gameObject.SetActive(true); // 替换UI图