Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

customGameProperties not working

$
0
0
I added more custom room properties using

Hashtable properties = new Hashtable();
properties["Map"] = mapNames[mapSelected];
properties["Mode"] = gameModes[modeSelected];
properties["Time"] = timeLimit.ToString();
PhotonNetwork.CreateRoom(gameName, true, true, (int)maxPlayers, properties);

when I retrieve the room list back, the roomInfo.customProperties["Map"].ToString() a null result.
Does this plugin supprt Custom room properties.. If not, is there any other way to add custom properties?

Viewing all articles
Browse latest Browse all 15755

Trending Articles