기술 자료

Unity Engine

Unity Engine

Init(Enum, bool)

Initializes the EnumFlagsField with a default value, and initializes its underlying type.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void Init(Enum defaultValue, bool includeObsoleteValues = false)

Parameters

defaultValue

The typed enum value.

includeObsoleteValues

Set to true to display obsolete values as choices.