Class StateUnit
Inheritance
StateUnit
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[Obsolete("Use the new class graphs to nest graphs instead.")]
public sealed class StateUnit : NesterUnit<LegacyStateGraph, StateGraphAsset>, ISerializationCallbackReceiver, INesterUnit, IGraphParentUnit, IUnit, IGraphElementWithDebugData, IGraphNesterElement, IGraphParentElement, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, IGraphNester, IGraphParent
Constructors
StateUnit()
Declaration
public StateUnit()
StateUnit(StateGraphAsset)
Declaration
public StateUnit(StateGraphAsset asset)
Parameters
Type | Name | Description |
---|---|---|
StateGraphAsset | asset |
Properties
start
The entry point to start the state graph.
Declaration
[DoNotSerialize]
public ControlInput start { get; set; }
Property Value
Type | Description |
---|---|
ControlInput |
started
The action to execute after the state graph has been started.
Declaration
[DoNotSerialize]
public ControlOutput started { get; set; }
Property Value
Type | Description |
---|---|
ControlOutput |
stop
The entry point to stop the state graph.
Declaration
[DoNotSerialize]
public ControlInput stop { get; set; }
Property Value
Type | Description |
---|---|
ControlInput |
stopped
The action to execute after the state graph has been stopped.
Declaration
[DoNotSerialize]
public ControlOutput stopped { get; set; }
Property Value
Type | Description |
---|---|
ControlOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()