Hello, i'm new and i don't know where should i post this
Options
Well, method PhotonNetwork.countOfPlayersInRooms hint says... playerList.Count;
http://prntscr.com/hd6rg5
and should be playerList.Length;
is it correct?
http://prntscr.com/hd6rg5
and should be playerList.Length;
is it correct?
0
Comments
-
Hi @Code_Kavo,
Thank you for choosing Photon!
You are right!PhotonNetwork.playerList
is an array.
There is also another way to get players count: using the propertyPhotonNetwork.room.PlayerCount
.
We will fix this.1 -
you are welcome0