private void Awake() { _emptyPlace = FindObjectOfType <EmptyPlace>(); for (int i = 0; i < transform.childCount; i++) { _thisWin.Add(transform.GetChild(i).position); _сhildPosition.Add(transform.GetChild(i).position); } }
public EmptyPresenter(EmptyPlace place, Services services) { this.place = place; this.services = services; }
private void Awake() { _animationText = GetComponent <Animation>(); _emptyPlace = FindObjectOfType <EmptyPlace>(); }