//to chane functionality in a child class juste use the override //default way to call an attack public override void onActivate(IGameUnit caster) { //called onbuttondown StartCoroutine(caster.Attack(range, delay)); StartCoroutine(attack()); }
//to chane functionality in a child class juste use the override //default way to call an attack public override void onActivate(IGameUnit caster) { //called onbuttondown StartCoroutine(caster.Attack(range, delay)); StartCoroutine(attack()); }