Esempio n. 1
0
 virtual protected void Constructor()
 {
     target      = PlayerManager.instance.transform;                                         //definim l'objectiu
     EAQ         = EnemyAttackQueue.instance;
     Anim        = transform.GetComponent <Animator>();
     LifePoints  = MaxLifePoints;
     target      = PlayerManager.instance.transform;
     AttackTimer = -1;
 }
Esempio n. 2
0
 private void Awake()
 {
     instance = this;
 }