Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeExecutionContext
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include | #include "StateTreeExecutionContext.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeExecutionContext.cpp |
EStateTreeRunStatus EnterState
(
FStateTreeTransitionResult & Transition
)
Remarks
Handles logic for entering State. EnterState is called on new active Evaluators and Tasks that are part of the re-planned tree. Re-planned tree is from the transition target up to the leaf state. States that are parent to the transition target state and still active after the transition will remain intact. Run status returned by the tasks.