Class MinMaxAttribute
Tag a Vector2 or a Vector2Int field to draw it as a min-max slider.
Implements
Inherited Members
Namespace: Unity.Platforms.UI
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class MinMaxAttribute : InspectorAttribute, _Attribute
Constructors
Name | Description |
---|---|
MinMaxAttribute(float, float) | Constructs a new MinMaxAttribute with specified min and max values. |
Fields
Name | Description |
---|---|
Max | High-limit value. |
Min | Low-limit value. |