文档

Unity Engine

Unity Engine

GetInputPortByName(string)

Retrieves an input port using its name.
阅读时间1 分钟最后更新于 1 个月前

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.