InstantiatePort(Orientation, Direction, Capacity, Type)
Create a new port specific to this node.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public virtual Port InstantiatePort(Orientation orientation, Direction direction, Port.Capacity capacity, Type type)
Parameters
Port's orientation.
Port's direction.
Port's type.
Returns
Type | Description |
|---|---|
| Port | The new port. |