...
This commit is contained in:
parent
170d27a878
commit
1b518d1d19
|
|
@ -30,8 +30,8 @@ public class GameUI : MonoBehaviourSingletonTemplate<GameUI>
|
|||
DSUtil.InActivateGameObjects(gos, index);
|
||||
}
|
||||
|
||||
public void Set_OverUI(int index)
|
||||
public void Set_OverUI(int index, bool active)
|
||||
{
|
||||
gos[index].SetActive(true);
|
||||
gos[index].SetActive(active);
|
||||
}
|
||||
}
|
||||
|
|
@ -4,17 +4,18 @@ public class LobbyMainUI : MonoBehaviour
|
|||
{
|
||||
private void OnEnable()
|
||||
{
|
||||
GameUI.Ins.Set_OverUI(3);
|
||||
GameUI.Ins.Set_OverUI(3, true);
|
||||
}
|
||||
|
||||
public void OnClick_TutoSkip()
|
||||
{
|
||||
GameUI.Ins.Set_UI(2);
|
||||
GameUI.Ins.Set_OverUI(3, false);
|
||||
GameUI.Ins.Set_OverUI(4, false);
|
||||
}
|
||||
|
||||
public void OnClick_Play()
|
||||
{
|
||||
GameUI.Ins.Set_OverUI(4);
|
||||
GameUI.Ins.Set_OverUI(4, true);
|
||||
}
|
||||
|
||||
public void OnClick_GoIngame()
|
||||
|
|
|
|||
Loading…
Reference in New Issue