Class StateUnit
Inheritance
object
StateUnit
Assembly: solution.dll
Syntax
[UnitCategory]
public sealed class StateUnit : NesterUnit<StateGraph, StateGraphAsset>, INesterUnit, IUnit, IGraphElementWithDebugData, IGraphNesterElement, IGraphParentElement, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphNester, IGraphParent
Constructors
StateUnit()
Declaration
StateUnit(StateGraphAsset)
Declaration
public StateUnit(StateGraphAsset macro)
Parameters
Properties
start
The entry point to start the state graph.
Declaration
[DoNotSerializeAttribute]
public ControlInput start { get; }
Property Value
started
The action to execute after the state graph has been started.
Declaration
[DoNotSerializeAttribute]
public ControlOutput started { get; }
Property Value
stop
The entry point to stop the state graph.
Declaration
[DoNotSerializeAttribute]
public ControlInput stop { get; }
Property Value
stopped
The action to execute after the state graph has been stopped.
Declaration
[DoNotSerializeAttribute]
public ControlOutput stopped { get; }
Property Value
Methods
DefaultGraph()
Declaration
public override StateGraph DefaultGraph()
Returns
Overrides
Definition()
Declaration
protected override void Definition()
Overrides
WithStart()
Declaration
public static StateUnit WithStart()
Returns
Implements
IDisposable
Extension Methods