anthonyraudino / SimpleMinMaxSlider2023

Updated to correctly build in 2023. Adds a simple MinMax slider attribute to Unity. Supports Vector2 and Vector2Int.

Home Page:https://www.youtube.com/c/guciodevs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleMinMaxSlider for Unity

Updated for 2023 to correctly compile builds.

Installation

  1. Open package manager
  2. Add package from git URL
  3. Paste: https://github.com/anthonyraudino/SimpleMinMaxSlider2023.git#upm (remember the #upm at the end)
  4. Let Unity do its thing
  5. Done.

Usage

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!

About

Updated to correctly build in 2023. Adds a simple MinMax slider attribute to Unity. Supports Vector2 and Vector2Int.

https://www.youtube.com/c/guciodevs


Languages

Language:C# 100.0%