void Start() { board = this.transform.parent.GetComponent <Board>(); position = transform.position; savedStep = Direction.None; anim = gameObject.GetComponent <Animator>(); infoGatherer = GameObject.Find("Manager").GetComponent <informationGatherer>(); }
public void Start() { infoGatherer = GameObject.Find("Manager").GetComponent <informationGatherer>(); }