예제 #1
0
 public override void AttackUnit(Damaged target)
 {
     if (Vector2.Distance(target.transform.position, transform.position) <= range && Time.time >= timerDelay)
     {
         target.Hit(strong, damageType);
         timerDelay = Time.time + delay;
     }
 }