Get an array of connected players?
Options
Comments
-
PhotonNetwork.playerList should do the trick. That includes your player as well. If you need all the players except you, use PhotonNetwork.otherPlayers0
-
I can't find any alternative with realtime SDK. It doesn't exist ?0
-
Hi @antigode,
All players joined to the room, including local:
Dictionary, keys are actor numbers:LoadBalancingClient.CurrentRoom.Players
Values:LoadBalancingClient.CurrentRoom.Players.Values
Array of players:LoadBalancingClient.CurrentRoom.Players.Values.ToArray();
1 -
Ok thank you i've really searched hours for this x_x0
-
Hi @Chickenspank
Can you please guide me how you make player Seeker after some time? and how you tell other users in the game?0