/// <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); } }
public void LeaveLobby() { LobbyManager.Instance().LeaveLobby(); }