private void Awake() { this.finishedSprite = this.mainRenderer.sprite; this.pathableObject = this.GetComponentInChildren <PathableObject>(); this.animator = this.GetComponentInChildren <Animator>(); this.Selectable = this.GetComponent <Selectable>(); }
private void Start() { pathable = GetComponentInParent <PathableObject>(); }
public void Start() { pathable = GetComponentInParent <PathableObject>(); rotate = GetComponent <EnemyRotate>(); }