Class StateTransition
Inheritance
StateTransition
Syntax
public abstract class StateTransition : GraphElement<StateGraph>, IStateTransition, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IConnection<IState, IState>
Constructors
StateTransition()
Declaration
protected StateTransition()
StateTransition(IState, IState)
Declaration
protected StateTransition(IState source, IState destination)
Parameters
Properties
dependencyOrder
Declaration
public override int dependencyOrder { get; }
Property Value
Overrides
Unity.VisualScripting.GraphElement<Unity.VisualScripting.StateGraph>.dependencyOrder
Implements
destination
Declaration
[Serialize]
public IState destination { get; }
Property Value
Implements
source
Declaration
[Serialize]
public IState source { get; }
Property Value
Implements
Methods
Branch(Flow)
Declaration
public void Branch(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Implements
CreateDebugData()
Declaration
public IGraphElementDebugData CreateDebugData()
Returns
Implements
Instantiate(GraphReference)
Declaration
public override void Instantiate(GraphReference instance)
Parameters
Overrides
Unity.VisualScripting.GraphElement<Unity.VisualScripting.StateGraph>.Instantiate(Unity.VisualScripting.GraphReference)
Implements
OnEnter(Flow)
Declaration
public abstract void OnEnter(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Implements
OnExit(Flow)
Declaration
public abstract void OnExit(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Implements
Uninstantiate(GraphReference)
Declaration
public override void Uninstantiate(GraphReference instance)
Parameters
Overrides
Unity.VisualScripting.GraphElement<Unity.VisualScripting.StateGraph>.Uninstantiate(Unity.VisualScripting.GraphReference)
Implements
Extension Methods