how to check how many clients are connected to photon server?
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
how to check how many clients are connected to photon server?
bluerubyapps1995
2017-06-25 16:29:02
hi all, im developing a unity game using photon server(self hosted) i want to view in the scene how many clients connected to the server.
thank you.
Comments
JackyAdljh
2017-07-02 13:43:40
Hi you, for each player connect to server you can add this player to array
PhotonNetwork.countOfPlayers
There are a lot of counting of players in PhotonNetwork in room in game etc i hope it would be good for you :)
Back to top