/* * Methods called by animations. */ public void SpawnDamage() { DamageScript.SpawnDamage(damagePoint.position, damageRadius, 1, health); }
// Called by animations public void DealDamage() { // Spawn a damage object DamageScript.SpawnDamage(damagePoint.position, damageRadius, damage: 1, source: health); }