Attributes

Table of Content

Table of Content

Table of Content

Min Max Range

Displays a min-max range slider in the Inspector for Vector2 or Vector2Int fields.

The parameters should be the min and max values of the slider.

Supports both integer and float ranges.

using MVsToolkit.Dev



[MinMaxRange(0, 100)] public Vector2 DropProbability;
[MinMaxRange(1, 5)] public Vector2Int CriticalMultiplier

Require namespace MVsToolkit.Dev

Only support Vector2 or Vector2Int

Create a free website with Framer, the website builder loved by startups, designers and agencies.