Пример #1
0
 //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());
 }