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