Пример #1
0
 private void Awake()
 {
     this.finishedSprite = this.mainRenderer.sprite;
     this.pathableObject = this.GetComponentInChildren <PathableObject>();
     this.animator       = this.GetComponentInChildren <Animator>();
     this.Selectable     = this.GetComponent <Selectable>();
 }
Пример #2
0
 private void Start()
 {
     pathable = GetComponentInParent <PathableObject>();
 }
Пример #3
0
 public void Start()
 {
     pathable = GetComponentInParent <PathableObject>();
     rotate   = GetComponent <EnemyRotate>();
 }