Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

EnumField.Init

Switch to Manual
public void Init (Enum defaultValue);

Parameters

defaultValueYour typed enum value.

Description

Initialize the EnumField with a default value. This also initializes its underlying type.