Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     fireElementalAI = GetComponent <FireElementalAI>();
     anim            = GetComponent <Animator> ();
     body            = transform.Find("Body");
     hands           = transform.Find("Hands");
 }
Beispiel #2
0
 void Start()
 {
     fireEleAI     = GetComponentInParent <FireElementalAI>();
     skeletonAI    = GetComponentInParent <SkeletonAI>();
     enemyMage     = GetComponentInParent <EnemyMage>();
     bossBehaviour = GetComponentInParent <BossBehaviour>();
 }