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; }
private void Awake() { instance = this; }