C# Class UnityEngine.RangeAttribute

Inheritance: PropertyAttribute
ファイルを表示 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_oe property

public float max
return float

min public_oe property

public float min
return float