Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ConnectTo

Creates an edge between this port and the 'other' port.
Read time 1 minuteLast updated 13 days ago

Definition

ConnectTo(Port)

Creates an edge between this port and the 'other' port.
public Edge ConnectTo(Port other)

Parameters

other

Other port to connect to.

Returns

Type

Description

EdgeNewly created edge.

Remarks

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

ConnectTo<T>(Port)

Creates an edge between this port and the 'other' port.
public T ConnectTo<T>(Port other) where T : Edge, new()

Parameters

other

Other port to connect to.

Returns

Type

Description

TNewly created edge.

Remarks

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