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