InstantiatePort(Orientation, Direction, Capacity, Type)
Create a new port specific to this node.
阅读时间1 分钟最后更新于 1 个月前
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. |