Equals
Indicates whether the current StateReference is equal to another StateReference.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor.GraphVisualization
- Assembly: UnityEditor
Equals(StateReference)
Indicates whether the current StateReference is equal to another StateReference.
public bool Equals(StateReference other)
Parameters
The other StateReference to compare with the current instance.
Returns
Type | Description |
|---|---|
| bool | true if both references share the same StateReference.StateID and refer to the same StateReference.Context instance. Otherwise, false. |
Equals(Object)
Indicates whether the current StateReference is equal to another object.
public override bool Equals(object obj)
Parameters
The object to compare with the current StateReference.
Returns
Type | Description |
|---|---|
| bool | true if |