LoadLevel

Options
Hello,all!
i'm using this code:[code2=csharp]if(GUILayout.Button("Create")){
string[] roomPropsInLobby1 = { "map","team_one","team_two","mode"};
Hashtable customRoomProperties1 = new Hashtable() { { "map", mapName },{"team_one",0},{"team_two",0},{"mode",gameMode}};
PhotonNetwork.CreateRoom(newRoomName, privateBool, true,Numbers,customRoomProperties1, roomPropsInLobby1);
PhotonNetwork.playerName = playerName;
}[/code2]
I CAN'T LOADLEVEL AND SYNCH.help me,please!!!

Comments

  • Tobias
    Options
    In PUN 1.22 in the Asset Store, I am using PhotonNetwork.LoadLevel in the Demo "Worker". Have a look.