sorry for my bad English!
i have a custom class:
public class playerData {
public string name;
public NetworkPlayer player;
public Transform Prefab;
public bool isReady = false;
}
and a list:
public List players = new List();
and i want to call a function if every item isReady in the List. I think i should use loop but i don't know what.
↧