ConnectWithNickname









How do I use Connect With Nickname
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: GUICustomAuth.cs Copy
70     public void ConnectWithNickname()
71     {
72         RootOf3dButtons.SetActive(false);
73
74         PhotonNetwork.AuthValues = null; // null by default but maybe set in a previous session.
75         PhotonNetwork.ConnectUsingSettings("1.0");
76
77         // PhotonNetwork.playerName gets set in GUIFriendFinding
78         // a UserID is not used in this case (no AuthValues set)
79     }

ConnectWithNickname 108 lượt xem

Gõ tìm kiếm nhanh...