VariableRangeAttribute Class

Definition

An attribute that allows a particular field to be constrained to a range dependent on other variables.

C#
[System.AttributeUsage(System.AttributeTargets.Field)]
public sealed class VariableRangeAttribute : UnityEngine.PropertyAttribute
Inheritance
UnityEngine.PropertyAttribute
VariableRangeAttribute
Attributes

Constructors

VariableRangeAttribute(String, String)

Initializes a new instance of a VariableRangeAttribute class.

Properties

MaxVariableName

The name of the maximum variable.

MinVariableName

The name of the minimum variable.

Applies to

Product Versions
MRTK3 Core Definitions 3.0, 3.1, 3.2