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