// Use this for initialization void JoinLobby() { PUN_NetworkManager nm = GameObject.FindObjectOfType <PUN_NetworkManager>(); nm.SetPlayerName(_playerName); nm.JoinLobby(); }
public void JoinDefaultLobby() { nm.JoinLobby(); }