foreach( PhotonPlayer player in PhotonNetwork.playerList)
{
print(player.name);
}
This returns only current player and not all players
{
print(player.name);
}
This returns only current player and not all players