Version: 2019.2

MinAttribute

class in UnityEngine

/

Inherits from:PropertyAttribute

Switch to Manual

Description

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

Variables

minThe minimum allowed value.

Constructors

MinAttributeAttribute used to make a float or int variable in a script be restricted to a specific minimum value.

Inherited members

Variables

orderOptional field to specify the order that multiple DecorationDrawers should be drawn in.