Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Custom Properties in lobby [PUN2]

$
0
0
I'm working on making the lobby for my game, and I created the room with a RoomOptions that contains both a CustomRoomProperties hashtable and a CustomRoomPropertiesForLobby string[] so that I can access the map and match type in the game and lobby. When another client goes into the lobby, I can get most of the correct stuff out of the RoomInfo (the name, max and current players, etc), but I cant get the custom properies through GetCustomProperies (it just returns an empty hashtable) or through the RoomInfo.propertiesListedInLobby (which is protected and inaccessible). The documentation and tutorials have been less than useful. Any advice?

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>