文档

Unity Engine

Unity Engine

Node.IOptionDefinitionContext

Interface that provides methods to declare node options inside a node.
阅读时间1 分钟最后更新于 1 个月前

Definition

public interface Node.IOptionDefinitionContext

Remarks

Use to add node options on nodes. Node options appear under the node header and in the inspector when a node is selected. They are appropriate for parameters that affect how a node behaves or changes its topology, such as modifying the number of ports.

Methods

Method

Description

AddOptionAdds a new node option.