Hey guys,
How would I go about receiving other Photon players names using PhotonNetwork. Would it go something like this?
foreach (var player in PhotonNetwork.otherPlayers) {
playersInRoom.text = string.Join("\n", playerNames.ToArray());
}
Is this right?
Also, should I put this in the update function? Or is there a better way to do this?
Thanks!