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

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