public void NationSelected() { if (Game.Instance.BluetoothPlay || Game.Instance.OnlinePlay) { ConfigureOnlineMenu.SetActive(true); } else { ConfigureMatchMenu.SetActive(true); } }
void Update() { if (Input.GetKeyUp(KeyCode.Escape)) { Application.Quit(); } if (UniversalOnline.Instance.State == UniversalOnline.States.ReadyToPlay) { UniversalOnline.Instance.Progress = 0; MainMenu.SetActive(false); ConfigureOnlineMenu.SetActive(true); } }