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图