Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/UStateTreeComponent
Description
Sets whether the State Tree is started automatically on being play. This function sets the bStartLogicAutomatically property, and should be used mostly from constructions scripts. If you wish to start the logic manually, call StartLogic().
| Name | SetStartLogicAutomatically |
| 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 |
UFUNCTION (BlueprintCallable, Category="Gameplay|StateTree")
void SetStartLogicAutomatically
(
const bool bInStartLogicAutomatically
)