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

How to make a Lobby Scene

$
0
0
So I have been looking everywhere and I can't seem to find any instance of Photon or Unity being able to handle a Lobby Scene where when connected to the server, the UI shows all the available rooms that have been created. At best I can find some random connection setups but nothing that list off all the rooms. This is a good example of what I am talking about
I mean maybe not as complex with its information requirements. maybe just: Name of room, Number of players, If it's Password Protected (which is something I don't know how to do)

I think it has something to do with PhotonNetwork.GetRoomList which I know is an array but I can't seem to write it out to be used.

I tried PhotonNetwork.countOfRooms but even after telling the server to make multiple rooms it only counts 0.

If anyone has any ideas that would be helpful.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



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