Class FlowStateTransition
Inheritance
FlowStateTransition
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.State.dll
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
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 |
|---|---|
| bool |
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 |
StopListening(GraphStack)
Declaration
public void StopListening(GraphStack stack)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphStack | stack |
WithDefaultTrigger(IState, IState)
Declaration
public static FlowStateTransition WithDefaultTrigger(IState source, IState destination)
Parameters
| Type | Name | Description |
|---|---|---|
| IState | source | |
| IState | destination |
Returns
| Type | Description |
|---|---|
| FlowStateTransition |