Hello,friends! i have a small trouble.This is my script:
if(GUILayout.Button("Join")){
PhotonNetwork.JoinRoom(room.name);
Application.LoadLevel(room.customProperties["map"].ToString());
PhotonNetwork.playerName = playerName;
connectingToRoom = true;
}
I’m trying to connect to the room and go to the scene.At the entrance, the player’s name is blank. Tell me, what’s the problem?
P.S. Sorry my English.