private IEnumerator HungerTick()
    {
        WaitForSeconds waitForSeconds = new WaitForSeconds(3f);

        HealthComponent healthComponent = GetComponent <HealthComponent>();

        while (true)
        {
            yield return(waitForSeconds);

            if (HungerDegenerationActive == false)
            {
                continue;
            }

            if (value == 0)
            {
                healthComponent.DecreaseValue(1f);
            }
            else if (value >= 90)
            {
                healthComponent.IncreaseValue(1f);
            }

            DecreaseValue(1f);
        }
    }
 protected override void OnTick(float delta)
 {
     healthComponent.IncreaseValue(healthStatusEffectData.HealthModification / Duration * delta);
 }