public void Heal(float heal) { if (!healable) { return; } FloatingTextController.CreateFloatingHealTextForEnemy(_canvas, heal.ToString(), transform); healable = false; Invoke(nameof(ActivateHealing), .4f); if (_healthSlider.value + heal < maxHp) // Max canindan daha fazla iyilesemez. { _healthSlider.value += heal; } }