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?
:#

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    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 property PhotonNetwork.room.PlayerCount.

    We will fix this.
  • Code_Kavo
    Options
    :) you are welcome