C# Class UnityEngine.RangeAttribute

Inheritance: PropertyAttribute
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
max float
min float

Méthodes publiques

Méthode Description
RangeAttribute ( float min, float max ) : System

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

Method Details

RangeAttribute() public méthode

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

public RangeAttribute ( float min, float max ) : System
min float The minimum allowed value.
max float The maximum allowed value.
Résultat System

Property Details

max public_oe property

public float max
Résultat float

min public_oe property

public float min
Résultat float