Class SuperState
Inheritance
SuperState
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.State.dll
Syntax
[TypeIcon(typeof(StateGraph))]
public sealed class SuperState : NesterState<StateGraph, StateGraphAsset>, INesterState, IState, IGraphElementWithDebugData, IGraphElementWithData, IGraphNesterElement, IGraphParentElement, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphNester, IGraphParent, IGraphEventListener
Constructors
SuperState()
Declaration
public SuperState()
SuperState(StateGraphAsset)
Declaration
public SuperState(StateGraphAsset macro)
Parameters
Type | Name | Description |
---|---|---|
StateGraphAsset | macro |
Methods
DefaultGraph()
Declaration
public override StateGraph DefaultGraph()
Returns
Type | Description |
---|---|
StateGraph |
Overrides
IsListening(GraphPointer)
Declaration
public bool IsListening(GraphPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
GraphPointer | pointer |
Returns
Type | Description |
---|---|
bool |
OnEnterImplementation(Flow)
Declaration
protected override void OnEnterImplementation(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Overrides
OnExitImplementation(Flow)
Declaration
protected override void OnExitImplementation(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Overrides
StartListening(GraphStack)
Declaration
public void StartListening(GraphStack stack)
Parameters
Type | Name | Description |
---|---|---|
GraphStack | stack |
StopListening(GraphStack)
Declaration
public void StopListening(GraphStack stack)
Parameters
Type | Name | Description |
---|---|---|
GraphStack | stack |
WithStart()
Declaration
public static SuperState WithStart()
Returns
Type | Description |
---|---|
SuperState |