ToEnumFlags<T>(ToggleButtonGroupState, bool)
Synchronizes the internal data with the ToggleButtonGroupState from a FlagsAttribute.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static T ToEnumFlags<T>(ToggleButtonGroupState options, bool acceptsLengthMismatch = true) where T : Enum
Parameters
The option set to be synced against.
The ability to synchronize two option sets of different sizes.
Returns
Type | Description |
|---|---|
| T | A flag enum type. |