Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 6 days ago

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
.