LazyBot/Assets/Scripts/Entity/EntityData.cs
/// <summary>
/// Updates value based on regenerate rate and deltaTime and updates slider.
/// </summary>
/// <param name="deltaTime">Time elapsed from previous frame.</param>
/// <returns>Is regenerate was successful.</returns>
Updates value based on regenerate rate and deltaTime and updates slider.
Updates value based on regenerate rate and deltaTime and updates slider .
public override bool Regenerate(float deltaTime = 1.0f)
        {
            if (!base.Regenerate(deltaTime)) return false;
            UpdateSlider();
            return true;
        }
public override bool Regenerate ( float deltaTime = 1.0f ) { if ( ! base . Regenerate ( deltaTime ) ) return false ; UpdateSlider ( ) ; return true ; }
Updates value based on regenerate rate and deltaTime and updates slider.
Updates value based on regenerate rate and deltaTime and updates slider .
None
deltaTime
float
Time elapsed from previous frame.
Time elapsed from previous frame .