Get the custom properties of a room while in a lobby
Options
Can somebody explain me how to get the custom properties of a room while in a lobby listing RoomInfo via PhotonNetwork.GetRoomList()?
Whenever I create a room I set this variables
roomOptions.CustomRoomProperties
roomOptions.customRoomProperties
roomOptions.CustomRoomPropertiesForLobby
but when I try to get this information while listing the rooms I only get RoomInfo with CustomRoomProperties null
Please help me, I don't know how to solve this
Whenever I create a room I set this variables
roomOptions.CustomRoomProperties
roomOptions.customRoomProperties
roomOptions.CustomRoomPropertiesForLobby
but when I try to get this information while listing the rooms I only get RoomInfo with CustomRoomProperties null
Please help me, I don't know how to solve this
0
Comments
-
Hi @hankven,
please take a look at the Matchmaking guide and check the 'Room Properties and the Lobby' section. It describes how to make some RoomProperties available for the lobby.
Please also note thatroomOptions.CustomRoomProperties roomOptions.customRoomProperties
is the same, but the one with a small 'c' is deprecated.0