Пример #1
0
        private void ApplySplashToUnit(UnitHealth targetHealth)
        {
            var damage = CalculateDamage(targetHealth.transform.position);

            targetHealth.ApplyDamage(damage);
        }
Пример #2
0
 private void ApplyHitToUnit(UnitHealth targetHealth)
 {
     targetHealth.ApplyDamage(_hitDamage);
 }