// Use this for initialization
    void JoinLobby()
    {
        PUN_NetworkManager nm = GameObject.FindObjectOfType <PUN_NetworkManager>();

        nm.SetPlayerName(_playerName);
        nm.JoinLobby();
    }
Beispiel #2
0
 public void JoinDefaultLobby()
 {
     nm.JoinLobby();
 }