기술 자료

Unity Engine

Unity Engine

ConnectTo

Creates an edge between this port and the 'other' port.
읽는 시간 1분최근 업데이트: 한 달 전

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.