![]() |
#2
|
|||
|
|||
![]()
Sorry i don't understand your question.
Do you want all Players in an Array? Code:
public Player[] AllPlayers() { List<Player> players = new List<Player>(); if (GamePlay.gpPlayer() != null) players.Add(GamePlay.gpPlayer()); if (GamePlay.gpRemotePlayers() != null) players.AddRange(GamePlay.gpRemotePlayers()); return players.ToArray(); } |
|
|