UISlider.ForceUpdate C# (CSharp) Method

ForceUpdate() public method

Force-update the slider. Useful if you've changed the properties and want it to update visually.
public ForceUpdate ( ) : void
return void
	public void ForceUpdate () { Set(rawValue, true); }
}

Usage Example

Ejemplo n.º 1
0
 public static void SetSliderValue(UISlider obj, float val)
 {
     if (obj != null)
     {
         obj.sliderValue = val;
         obj.ForceUpdate();
     }
 }
All Usage Examples Of UISlider::ForceUpdate