Пример #1
0
 private void OnLeaveButtonClick()
 {
     ToggleActiveState();
     NetworkingService.LeaveRoom(true, () =>
     {
         SceneManager.LoadScene("Main");
     });
 }
Пример #2
0
 /// <summary>Stops the game setup by leaving the room and returning to room list</summary>
 public void StopGameSetup()
 {
     NetworkingService.LeaveRoom(true);
 }