Auf Englisch lesen Bearbeiten

Freigeben über


Vector3RangeAttribute Class

Definition

Attribute used to make a float or int variable in a script be restricted to a specific range.

C++
public ref class Vector3RangeAttribute sealed : UnityEngine::PropertyAttribute
Inheritance
UnityEngine.PropertyAttribute
Vector3RangeAttribute
Attributes

Constructors

Vector3RangeAttribute(Single, Single)

Attribute used to make a float or int variable in a script be restricted to a specific range.

Fields

Max

Maximum value.

Min

Minimum value.

Applies to

Produkt Versionen
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0