ToEnumFlags<T>(ToggleButtonGroupState, bool)
Synchronizes the internal data with the ToggleButtonGroupState from a FlagsAttribute.
阅读时间1 分钟最后更新于 1 个月前
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. |