示例#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>();
 }