Language
Edit

VariableRangeAttribute Class

Definition

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

[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.PropertyAttribute
VariableRangeAttribute
Attributes

Constructors

Name Description
VariableRangeAttribute(String, String)

Initializes a new instance of a VariableRangeAttribute class.

Properties

Name Description
MaxVariableName

The name of the maximum variable.

MinVariableName

The name of the minimum variable.

Applies to