Hello, i’ve a problem with the foreach inside the scoreboard script; i have tested the OnEnable and its called but then the foreach is not working
Player players = GameManager.GetAllPlayers();
foreach (Player player in players)
Debug.Log (player.name + ” | ” + player.kills + ” | ” + player.deaths);
//Loop through and set up a list item for each one
//Setting the ui elements equal to the relevant data
Any ideas ?