private void Start() { Instance = this; foreach (var comp in GetComponentsInChildren <IObject>()) { comp.UpdateProperties(); } }
void Awake() { Instance = this; }