Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetInputPortByName(string)

Retrieves an input port using its name.
Read time 1 minuteLast updated 6 days ago

Definition

public IPort GetInputPortByName(string name)

Parameters

name

The unique name of the input port within this node.

Returns

Type

Description

IPortThe input port with the specified name, or null if no match is found.

Remarks

The input port's name is unique within the node's input ports and node options.