MinAttribute

class in UnityEngine

/

Inherits from:PropertyAttribute

/

Implemented in:UnityEngine.CoreModule

Description

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

Properties

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

Properties

applyToCollectionMakes attribute affect collections instead of their items.
orderOptional field to specify the order that multiple DecorationDrawers should be drawn in.

Did you find this page useful? Please give it a rating: