Compare<T>(ToggleButtonGroupState, T)
Compares two ToggleButtonGroupState of flag enum types.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static bool Compare<T>(ToggleButtonGroupState options, T value) where T : Enum
Parameters
The ToggleButtonGroupState to be compared with.
Returns
Type | Description |
|---|---|
| bool | True if both options sets are the same, otherwise false. |