Ejemplo n.º 1
0
 /// <summary>
 /// Try to assign player to the current team and role
 /// </summary>
 public void TryAssignPlayer()
 {
     if (assignedPlayer == null)
     {
         LobbyManager.Instance().TryAssignPlayer(PhotonNetwork.player, team, role);
     }
 }
Ejemplo n.º 2
0
 public void LeaveLobby()
 {
     LobbyManager.Instance().LeaveLobby();
 }