private void RemoveHealth(float damage) { _health -= damage; float newHealth = _health / _startingHealth; _Event_SetLives.Invoke(newHealth, this); _myDamage.DamageDisplay(newHealth); }
private void ShowDamage() { if (_showDamage != null) { _showDamage.DamageDisplay(_instanceHealth / _health); } }