Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     anim           = gameObject.GetComponent <Animator> ();
     movementScript = gameObject.GetComponent <BasicEnemyMove> ();
     hitsToMe       = new Queue();
     isDead         = false;
     AttackTimer    = 0;
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     anim = gameObject.GetComponent<Animator> ();
     movementScript = gameObject.GetComponent<BasicEnemyMove> ();
     hitsToMe = new Queue ();
     isDead = false;
     AttackTimer = 0;
 }