This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

EnumField Constructor

Declaration

public EnumField(Enum defaultValue);

Parameters

defaultValue Initial value. Also used to detect Enum type.

Description

Construct an EnumField.