Class SubgraphUnit
Inheritance
SubgraphUnit
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[TypeIcon(typeof(FlowGraph))]
[UnitCategory("Nesting")]
[UnitTitle("Subgraph")]
[RenamedFrom("Bolt.SuperUnit")]
[RenamedFrom("Unity.VisualScripting.SuperUnit")]
public sealed class SubgraphUnit : NesterUnit<FlowGraph, ScriptGraphAsset>, INesterUnit, IUnit, IGraphElementWithDebugData, IGraphNesterElement, IGraphParentElement, IGraphNester, IGraphParent, IGraphEventListener, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Constructors
SubgraphUnit()
Declaration
public SubgraphUnit()
SubgraphUnit(ScriptGraphAsset)
Declaration
public SubgraphUnit(ScriptGraphAsset macro)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphAsset | macro |
Methods
AfterAdd()
Declaration
public override void AfterAdd()
Overrides
Implements
BeforeRemove()
Declaration
public override void BeforeRemove()
Overrides
Implements
CreateData()
Declaration
public IGraphElementData CreateData()
Returns
Type | Description |
---|---|
IGraphElementData |
Implements
DefaultGraph()
Declaration
public override FlowGraph DefaultGraph()
Returns
Type | Description |
---|---|
FlowGraph |
Overrides
Unity.VisualScripting.NesterUnit<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.DefaultGraph()
Definition()
Declaration
protected override void Definition()
Overrides
IsListening(GraphPointer)
Declaration
public bool IsListening(GraphPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
GraphPointer | pointer |
Returns
Type | Description |
---|---|
Boolean |
Implements
StartListening(GraphStack)
Declaration
public void StartListening(GraphStack stack)
Parameters
Type | Name | Description |
---|---|---|
GraphStack | stack |
Implements
StopListening(GraphStack)
Declaration
public void StopListening(GraphStack stack)
Parameters
Type | Name | Description |
---|---|---|
GraphStack | stack |
Implements
WithInputOutput()
Declaration
public static SubgraphUnit WithInputOutput()
Returns
Type | Description |
---|---|
SubgraphUnit |
WithStartUpdate()
Declaration
public static SubgraphUnit WithStartUpdate()
Returns
Type | Description |
---|---|
SubgraphUnit |