Class RangeDecorator
Used to draw a 'RangeAttribute' Decorator.
Namespace: Unity.MARS
Syntax
[Decorator(typeof(RangeAttribute))]
public sealed class RangeDecorator : 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 |