示例#1
0
 public void NationSelected()
 {
     if (Game.Instance.BluetoothPlay || Game.Instance.OnlinePlay)
     {
         ConfigureOnlineMenu.SetActive(true);
     }
     else
     {
         ConfigureMatchMenu.SetActive(true);
     }
 }
示例#2
0
    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);
        }
    }