protected override void Damage(IDamageableEntity target) { // only does that target.GetDamagedBy(color, damage); }
public void GiveDamage(IDamageableEntity ent, Transform enty) { ent.GetDamagedBy(this.color, this.damage); }
protected override void Damage(IDamageableEntity target) { // only does that target.GetDamagedBy(color, damagePerSeconds * Time.deltaTime); }
public void GiveDamage(IDamageableEntity ent, Transform enty) { ent.GetDamagedBy(Color.white, this.damagePerSeconds * Time.deltaTime); }