...
This commit is contained in:
parent
7b3f971e09
commit
756e26fccc
|
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue