GetInputPortByName(string)
Retrieves an input port using its name.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public IPort GetInputPortByName(string name)
Parameters
The unique name of the input port within this node.
Returns
Type | Description |
|---|---|
| IPort | The 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.