if i had a create room section like this:
RoomOptions roomOptions = new RoomOptions() { isVisible = true, maxPlayers = 6};
string[] roomPropsInLobby = { "map" };
Hashtable customRoomProperties = new Hashtable() { { 4} };
and a join room section like this:
foreach (RoomInfo game in PhotonNetwork.GetRoomList())
{
GUILayout.Label(game.name + game.customProperties.map);
GUILayout.Label(game.name + " " + game.playerCount + "/" + game.maxPlayers);
if (GUILayout.Button("Join " + game.name)){
PhotonNetwork.JoinRoom(game.name);
}
}
there is something wrong to make the room Level show up in the join room section, how can i get it to show the room’s custom property of the Level