This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-04 21:07:59 +08:00
parent 94b65267aa
commit 441293951f

View File

@ -428,6 +428,10 @@ namespace GameLogic
m_rectSpeed.GetChild(i).gameObject.SetActive(false); 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) if (teamId > m_rectBgList.childCount)
@ -440,6 +444,7 @@ namespace GameLogic
m_rectSdx.GetChild(teamId).gameObject.SetActive(true); m_rectSdx.GetChild(teamId).gameObject.SetActive(true);
m_rectSceneFx.GetChild(teamId).gameObject.SetActive(true); m_rectSceneFx.GetChild(teamId).gameObject.SetActive(true);
m_rectSpeed.GetChild(teamId).gameObject.SetActive(true); m_rectSpeed.GetChild(teamId).gameObject.SetActive(true);
m_rectTopFx.GetChild(teamId).gameObject.SetActive(true);
// 替换UI图 // 替换UI图