FromEnumFlags<T>(T, int)
Creates a ToggleButtonGroupState based on a FlagsAttribute enum type.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static ToggleButtonGroupState FromEnumFlags<T>(T options, int length = -1) where T : Enum
Parameters
Returns
Type | Description |
|---|---|
| ToggleButtonGroupState | A ToggleButtonGroupState based on the EnumFlag passed as an argument. |