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

Port.ConnectTo

Declaration

public RectTransform.Edge ConnectTo(Experimental.UIElements.GraphView.Port other);

Parameters

other Other port to connect to.

Returns

Edge Newly created edge.

Description

Creates an edge between this port and the 'other' port.

The new edge still needs to be added to the graph.


Declaration

public T ConnectTo(Experimental.UIElements.GraphView.Port other);

Parameters

other Other port to connect to.

Returns

T Newly created edge.

Description

Creates an edge between this port and the 'other' port.

The new edge still needs to be added to the graph.