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