ドキュメント

Unity Engine

Unity Engine

GetWire(IPort, IPort)

Gets the representation of the wire between an output port and an input port in the graph, if such a connection exists.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public Wire GetWire(IPort output, IPort input)

Parameters

output

The output port at the start of the connection.

input

The input port at the end of the connection.

Returns

Type

Description

WireA Wire when the ports are connected (including through portals); otherwise
null
.