This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

GraphView.GetCompatiblePorts

Declaration

public List<Port> GetCompatiblePorts(Experimental.GraphView.Port startPort, Experimental.GraphView.NodeAdapter nodeAdapter);

Parameters

startPort Start port to validate against.
nodeAdapter Node adapter.

Returns

List<Port> List of compatible ports.

Description

Get all ports compatible with given port.