Class FlowStateTransition
Inheritance
FlowStateTransition
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[SerializationVersion("A", new Type[]{})]
public sealed class FlowStateTransition : NesterStateTransition<FlowGraph, ScriptGraphAsset>, INesterStateTransition, IStateTransition, IGraphElementWithDebugData, IConnection<IState, IState>, IGraphNesterElement, IGraphParentElement, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphNester, IGraphParent, IGraphEventListener
Constructors
FlowStateTransition()
Declaration
public FlowStateTransition()
FlowStateTransition(IState, IState)
Declaration
public FlowStateTransition(IState source, IState destination)
Parameters
Type | Name | Description |
---|---|---|
IState | source | |
IState | destination |
Methods
DefaultGraph()
Declaration
public override FlowGraph DefaultGraph()
Returns
Type | Description |
---|---|
FlowGraph |
Overrides
Unity.VisualScripting.NesterStateTransition<Unity.VisualScripting.FlowGraph, Unity.VisualScripting.ScriptGraphAsset>.DefaultGraph()
GraphWithDefaultTrigger()
Declaration
public static FlowGraph GraphWithDefaultTrigger()
Returns
Type | Description |
---|---|
FlowGraph |
IsListening(GraphPointer)
Declaration
public bool IsListening(GraphPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
GraphPointer | pointer |
Returns
Type | Description |
---|---|
Boolean |
Implements
OnEnter(Flow)
Declaration
public override void OnEnter(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Overrides
OnExit(Flow)
Declaration
public override void OnExit(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Overrides
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
WithDefaultTrigger(IState, IState)
Declaration
public static FlowStateTransition WithDefaultTrigger(IState source, IState destination)
Parameters
Type | Name | Description |
---|---|---|
IState | source | |
IState | destination |
Returns
Type | Description |
---|---|
FlowStateTransition |