Slider
Last updated
Last updated
The toggle is a part of the 3D UI System for Unity that is used to create sliders and progressbar.
Note: You can hover your mouse and check tooltips for information.
When the slider value falls within the range that spans from the min value to the max value, events are triggered. The calculation considers both the min and max values. These values can be both a percentage number or a specific current value of the slider.
It evaluates value from top to bottom. The first range that matches the value is called, even if there are other ranges that also match.
By default, the input isn't added to the slider. If you click the button, it adds all the appropriate scripts with the correct settings automatically.