...
This commit is contained in:
parent
7b3f971e09
commit
756e26fccc
|
|
@ -30,10 +30,9 @@ public class GameUI : MonoBehaviourSingletonTemplate<GameUI>
|
|||
DSUtil.InActivateGameObjects(gos, index);
|
||||
}
|
||||
|
||||
public void Set_UI(params int[] index)
|
||||
public void Set_UI(int on, int on2)
|
||||
{
|
||||
DSUtil.InActivateGameObjects(gos);
|
||||
for (int i = 0; i < index.Length; i++)
|
||||
gos[index[i]].SetActive(true);
|
||||
gos[on].SetActive(true);
|
||||
gos[on2].SetActive(true);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue