VariableRangeAttribute Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[<System.AttributeUsage(System.AttributeTargets.Field)>]
type VariableRangeAttribute = class
inherit PropertyAttribute
Public NotInheritable Class VariableRangeAttribute
Inherits PropertyAttribute
- Inheritance
-
UnityEngine.PropertyAttributeVariableRangeAttribute
- Attributes
Variable |
Initializes a new instance of a VariableRangeAttribute class. |
Max |
The name of the maximum variable. |
Min |
The name of the minimum variable. |
Product | Versions |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |