| layout | control-ugui | ||||||
|---|---|---|---|---|---|---|---|
| title | Range Slider | ||||||
| description | Dual-handle slider for selecting a minimum/maximum value range. | ||||||
| category | Input | ||||||
| permalink | /ugui/controls/range-slider/ | ||||||
| has_video | true | ||||||
| tags |
|
A UI Slider control with a min (low) and max (high) value
1 Overview
3 Methods
4 Usage
6 See also
A Ui control which allows you to have two slider values in a single control
The properties of the Range Slider control are as follows:
| Property | Description |
|---|---|
| Low Handle Rect | The RectTransform of the Low value handle graphic |
| High Handle Rect | The RectTransform of the High value handle graphic |
| Fill Rect | RectTramsform of the fill for the slider (between min and max) |
| Min Value | The minimum / lower value for the control |
| Max Value | The maximum / higher value for the control |
| Whole Numbers | Should the control use whole or precision numbers |
| On Value Changed (event) | The Event fires when the range is changed |
This component does not expose public methods beyond inherited behaviour.
To enable the Range Slider component, simply add a new UI Object using:
"GameObject -> UI -> Extensions -> Sliders -> Range Slider"
Alternatively, add the component to an existing GameObject using:
"Add Component -> UI -> Extensions -> Sliders -> Range Slider"
Click to play
None
- Ben MacKinnon (@Dover8)


