文档

Unity Engine

Unity Engine

ISubgraphNode

Interface for a specialized node that references a subgraph and exposes its input and output variables as ports.
阅读时间2 分钟最后更新于 1 个月前

Definition

public interface ISubgraphNode : INode

Remarks

Subgraph nodes act as entry points to reusable graphs. These nodes mirror the subgraph's inputs and outputs as ports on the node to allow the integration of subgraphs within a main graph. The subgraph must be a valid Graph type. The main graph must support subgraphs through GraphOptions.SupportsSubgraphs, and the subgraph must be linked to the main graph using the SubgraphAttribute.

Methods

Method

Description

GetSubgraphRetrieves the subgraph linked to this node.

Inheritance