LazyBot/Assets/Scripts/Entity/EntityData.cs
/// <summary>
/// Changes value to the passed value and updates slider.
/// </summary>
/// <param name="value">Change value.</param>
/// <param name="asPossible">Change value on maximum allowable value.</param>
/// <returns>Is value was successful changed.</returns>
Changes value to the passed value and updates slider.
Changes value to the passed value and updates slider .
public override bool Change(float value, bool asPossible = false)
        {
            if (!base.Change(value, asPossible)) return false;
            UpdateSlider();
            return true;
        }
public override bool Change ( float value , bool asPossible = false ) { if ( ! base . Change ( value , asPossible ) ) return false ; UpdateSlider ( ) ; return true ; }
Changes value to the passed value and updates slider.
Changes value to the passed value and updates slider .
None
value
float
None
asPossible
bool
Change value on maximum allowable value.
Change value on maximum allowable value .