There are three ways to install this package:
- Open package manager
- Add package from git URL
- Paste: https://github.com/GucioDevs/SimpleMinMaxSlider.git#upm (remember the #upm at the end)
- Let Unity do its thing
- Done.
- Download the custom
.unitypackageversion from the available releases. Assets->Import Package->Custom Package-> select the package you just downloaded.
Include namespace at the top of your script:
using GD.MinMaxSlider;Code for the demonstration above:
[MinMaxSlider(0,10)]
public Vector2 floatTest = new Vector2(2f, 8f);
[MinMaxSlider(0,10)]
public Vector2Int intTest;Very simple and very handy!
