C# Class UnityEngine.RangeAttribute

Inheritance: PropertyAttribute
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
max float
min float

Public Methods

Method 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 method

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.
return System

Property Details

max public property

public float max
return float

min public property

public float min
return float