기술 자료

Unity Engine

Unity Engine

MinAttribute

Attribute used to make a float or int variable in a script be restricted to a specific minimum value.
읽는 시간 3분최근 업데이트: 한 달 전

Definition

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = false)]public sealed class MinAttribute : PropertyAttribute

Fields

Value

Description

minThe minimum allowed value.

Constructors

Constructor

Description

MinAttribute(System.Single)Attribute used to make a float or int variable in a script be restricted to a specific minimum value.

Inheritance

Inherited Members