how to check how many clients are connected to photon server?

Options
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
    Options
    Hi you, for each player connect to server you can add this player to array on server and if client request how many people, you can send event Count in this array.
  • Blade38
    Options
    PhotonNetwork.countOfPlayers
  • Blade38
    Options
    There are a lot of counting of players in PhotonNetwork in room in game etc i hope it would be good for you :)