Пример #1
0
 public void LeaveGame()
 {
     if (GUI.Button(new Rect(750, 20, 80, 20), "leave game"))
     {
         if ((System.Object)MyLobby.singleton != (System.Object)null)
         {
             manager.SetupMigrationManager((Host)null);
             manager.StopHost();
         }
         this.Reset(-1);
     }
 }