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