Exemplo n.º 1
0
 public override void Initialize(GameObject usingObj)
 {
     eneTree    = usingObj.GetComponent <BaseEnemyTree>();
     status     = usingObj.GetComponent <EnemyStatus>();
     belgianAI  = transform.root.GetComponentInChildren <BelgianAI>();
     delayTimer = 0;
     anim       = GetComponent <Animator>();
 }
Exemplo n.º 2
0
 public override void Initialize(GameObject usingObj)
 {
     status    = usingObj.GetComponent <EnemyStatus>();
     belgianAI = usingObj.GetComponentInParent <BelgianAI>();
     anim      = GetComponent <Animator>();
 }