Class ExecutionContext
Flow graph execution context
Inheritance
object
ExecutionContext
Assembly: cs.temp.dll.dll
Syntax
public class ExecutionContext : IDisposable
Constructors
ExecutionContext()
Declaration
protected ExecutionContext()
Properties
Context
Execution source context object
Declaration
public UObject Context { get; }
Property Value
Graph
Declaration
public FlowGraph Graph { get; }
Property Value
Methods
Dispose()
Declaration
Forward(ExecutableNode)
Execute node in forward path
Declaration
public UniTask Forward(ExecutableNode node)
Parameters
Returns
GetEvent()
Get source this execution fired from
Declaration
public EventBase GetEvent()
Returns
| Type |
Description |
| EventBase |
|
GetEventT<T>()
Get source this execution fired from with specific type check
Declaration
public T GetEventT<T>() where T : EventBase<T>, new()
Returns
Type Parameters
GetPooled(UObject, FlowGraph, EventBase)
Declaration
public static ExecutionContext GetPooled(UObject context, FlowGraph graph, EventBase evt = null)
Parameters
| Type |
Name |
Description |
| UObject |
context |
|
| FlowGraph |
graph |
|
| EventBase |
evt |
|
Returns
SetNext(ExecutableNode)
Set execution flow next node
Declaration
public void SetNext(ExecutableNode node)
Parameters