文档

Unity Engine

Unity Engine

Node.IPortDefinitionContext

Interface that provides methods to define input and output ports during Node.OnDefinePorts execution.
阅读时间1 分钟最后更新于 1 个月前

Definition

public interface Node.IPortDefinitionContext

Remarks

Use this interface within Node.OnDefinePorts to declare the ports a node exposes. Ports define how the node connects to other nodes by specifying inputs and outputs.

Methods

Method

Description

AddInputPortAdds a new input port.
AddOutputPortAdds a new output port with the specified name.