This commit is contained in:
Ino 2026-01-12 13:54:32 +09:00
parent 7b3f971e09
commit 756e26fccc
1 changed files with 3 additions and 4 deletions

View File

@ -30,10 +30,9 @@ public class GameUI : MonoBehaviourSingletonTemplate<GameUI>
DSUtil.InActivateGameObjects(gos, index); DSUtil.InActivateGameObjects(gos, index);
} }
public void Set_UI(params int[] index) public void Set_UI(int on, int on2)
{ {
DSUtil.InActivateGameObjects(gos); gos[on].SetActive(true);
for (int i = 0; i < index.Length; i++) gos[on2].SetActive(true);
gos[index[i]].SetActive(true);
} }
} }