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

min允许的最小值。

Constructors

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

Inherited members

Variables

order可选字段,用于指定多个 DecorationDrawer 应采用的绘制顺序。