GetInputPort(int)
Retrieves an input port using its index.
Read time 1 minuteLast updated 6 days ago
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.