Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/3
A bounded (i.e., with a minimum and maximum) range attribute for Unity's Vector2 and Vector2Int fields.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.24f1
Compatible
Compatible
Compatible
Additional compatibility information

The package is compatible Unity 2022.X and Unity 6.

Description

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.
Technical details

Supported OS: All OSs that Unity supports.

Link to documentation: https://github.com/lazysquirrellabs/min_max_range_attribute

Min/max Range Attribute

(not enough ratings)
13 users have favourite this asset
(13)
FREE
License type
File size
11.3 KB
Latest version
1.0.3
Latest release date
Nov 22, 2024
Original Unity version
6000.0.24
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR