/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h
Runs state selection logic starting at the specified state, walking towards the leaf states. If a state cannot be selected, false is returned. If NextState is a selector state, SelectStateInternal is called recursively (depth-first) to all child states (where NextState will be one of child states). If NextState is a leaf state, the active states leading from root to the leaf are returned.
True if succeeded to select new active states.
bool SelectState ( const [FStateTreeStateHandle](API\Plugins\StateTreeModule\FStateTreeStateHandle) NextState, [FStateTreeActiveStates](API\Plugins\StateTreeModule\FStateTreeActiveStates) & OutNewActiveStates, [FStateTreeActiveStates](API\Plugins\StateTreeModule\FStateTreeActiveStates) & VisitedStates )