Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/UStateTreeComponent
Description
Called during initialize, will validate the state tree reference and create a context from the state tree to check its validity Override this function for custom state tree validation. Note: Override without calling super if the state tree reference is dynamically set after initialization
| Name | ValidateStateTreeReference |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Components/StateTreeComponent.h |
| Include Path | #include "Components/StateTreeComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Private/Components/StateTreeComponent.cpp |
virtual void ValidateStateTreeReference()