Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

ISubgraphNode

interface in Unity.GraphToolkit.Editor


Implements interfaces:INode

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Interface for a specialized node that references a subgraph and exposes its input and output variables as ports.

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.

Public Methods

Method Description
GetSubgraph Retrieves the subgraph linked to this node.