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

EnumField.Init

切换到手册
public void Init (Enum defaultValue);

参数

defaultValueYour typed enum value.

描述

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