GetInputPort(int)
Retrieves an input port using its index.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public IPort GetInputPort(int index)
Parameters
The index of the input port.
Returns
Type | Description |
|---|---|
| IPort | The input port at the specified index. |
Remarks
The index is zero-based. The list of input ports is ordered according to their display order in the node.