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 |
void ExitState
(
const FStateTreeTransitionResult & Transition
)
Remarks
Handles logic for exiting State. ExitState is called on current 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.