Class MinMaxDecorator
Used to draw a 'MinMaxAttribute' Decorator.
Namespace: Unity.MARS
Syntax
[Decorator(typeof(MinMaxAttribute))]
public sealed class MinMaxDecorator : AttributeDecorator
Methods
OnGUI(SerializedProperty, GUIContent, Attribute)
Declaration
public override bool OnGUI(SerializedProperty property, GUIContent label, Attribute attribute)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | property | |
GUIContent | label | |
Attribute | attribute |
Returns
Type | Description |
---|---|
Boolean |