コード例 #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);
     }
 }
コード例 #2
0
 public void LeaveLobby()
 {
     LobbyManager.Instance().LeaveLobby();
 }