ドキュメント

Unity Engine

Unity Engine

Init

Initializes the EnumField with a default value, and initializes its underlying type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

Init(Enum)

Initializes the EnumField with a default value, and initializes its underlying type.
public void Init(Enum defaultValue)

Parameters

defaultValue

The typed enum value.

Init(Enum, bool)

Initializes the EnumField with a default value, and initializes its underlying type.
public void Init(Enum defaultValue, bool includeObsoleteValues)

Parameters

defaultValue

The typed enum value.

includeObsoleteValues

Set to true to display obsolete values as choices.