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