Esempio n. 1
0
 public void OnClick_LeaveRoom()
 {
     PhotonNetwork.LeaveRoom();
     mainMenu.OnClick_RoomFind();
     for (int index = 0; index < playerListings.Count; index++)
     {
         Destroy(playerListings[index].gameObject);
         playerListings.RemoveAt(index);
     }
 }