for (int i = 0; i < playerList.Count; i++)
{
Debug.Log("For Loop Index: " + i);
var player = playerList*;*
Debug.Log(“Is this the index:” + playerList.IndexOf(player));
}
Hey! So I ran this loop in a LateUpdate(), because I need a text prefab to be attached to a player GameObject, and when I ask the index of the player which was fetched by the “i = 0” index, he gives me back “0”, but when I ask the index of the player which was fetched by the “i = 1” index, he gives me back “0” again! Does anyone know why and what I can do?