文档

Unity Engine

Unity Engine

InstantiatePort(Orientation, Direction, Capacity, Type)

Create a new port specific to this node.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual Port InstantiatePort(Orientation orientation, Direction direction, Port.Capacity capacity, Type type)

Parameters

orientation

Port's orientation.

direction

Port's direction.

capacity


type

Port's type.

Returns

Type

Description

PortThe new port.