Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeConditionBase
Description
Called when a current state is exited and task is part of active states. Note: The condition instance data is shared between all the uses a State Tree asset. You should not modify the instance data in this callback.
| Name | ExitState |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeConditionBase.h |
| Include Path | #include "StateTreeConditionBase.h" |
virtual void ExitState
(
FStateTreeExecutionContext & Context,
const FStateTreeTransitionResult & Transition
) const
Parameters
| Name | Remarks |
|---|---|
| Context | Reference to current execution context. |
| Transition | Describes the states involved in the transition |