Publisher | Lazy Squirrel Labs |
---|---|
File size | 11.34kB |
Number of files | 9 |
Latest version | 1.0.3 |
Latest release date | 2024-11-22 08:13:15 |
First release date | 2024-11-22 08:13:15 |
Supported Unity versions | 2018.4.2 or higher |
A bounded (i.e., with a minimum and maximum) range attribute for Unity's Vector2 and Vector2Int fields that draws fields as min/max range sliders, easing the definition of bounded ranges on the inspector.
Features
- Intuitive, compact inspector representation.
- Support for Unity's Vector2 and Vector2Int types.
- Easy to use: just add the attribute to a serialized field of a supported type.
- Custom floating-point decimal places (0 to 3).
- Error prevention. Unlike using separate fields for minimum and maximum, value integrity is guaranteed (e.g., the minimum will never be greater than the maximum) by the inspector.
- Uses built-in Unity's EditorGUILayout.MinMaxSlider under the hood.