Equals
Checks if a given ToggleButtonGroupState matches with the current one.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Equals(ToggleButtonGroupState)
Checks if a given ToggleButtonGroupState matches with the current one.
public bool Equals(ToggleButtonGroupState other)
Parameters
A ToggleButtonGroupState to be compared against.
Returns
Type | Description |
|---|---|
| bool | True if both option has the same data and number of options, otherwise returns false. |
Equals(Object)
Compares the the current option set with an Object.
public override bool Equals(object obj)
Parameters
An object to be compared against.
Returns
Type | Description |
|---|---|
| bool | True if both option sets are not the same, otherwise returns false. |