public static ArrayList GetCurrentPlayerList()
{
ArrayList returnList = new ArrayList ();
if (currentPlayerList == null)
{
Debug.Log("No current player list. Maybe not connected.");
return returnList;
}
for (int i = 0; i < currentPlayerList.player.Count; i++)
{
returnList.Add(currentPlayerList.player[i]);
}
return returnList;
}