UpdateValue

Method in Slider.cs

UpdateValue (int newValue)

This is the same as setting the CurrentValue directly.

UpdateValue (float newValue)

This is the same as setting the CurrentValue directly.

UpdateValue ()

This is the same as setting the CurrentValue to its current value. This can be used to update the slider's graphic and call the appropriate events in case they weren't called without actually changing the CurrentValue.

Script documentation

Last updated