Init
Initializes the EnumField with a default value, and initializes its underlying type.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Init(Enum)
Initializes the EnumField with a default value, and initializes its underlying type.
public void Init(Enum defaultValue)
Parameters
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)