Nuance between playerList.Length & room.PlayerCount ?
Options
M4TT
✭
Hi
Can someone tell the difference between
and
Thanks
Can someone tell the difference between
PhotonNetwork.room.PlayerCount
and
PhotonNetwork.playerList.Length
Thanks
0
Comments
-
Please ?0
-
Thanks for the reply.
I wanted to know to use the most appropriate.0 -
Hi @M4TT,
PhotonNetwork.room.PlayerCount
returnsPhotonNetwork.playerList.Length
. So both are basically the same. You can take a look at the Room class to see its implementation.1 -
All right thank you0