Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/Components > API/Plugins/GameplayStateTreeModule/Components/UStateTreeComponent
References
| Module | GameplayStateTreeModule |
| Header | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Components/StateTreeComponent.h |
| Include | #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
)
Remarks
Sets whether the State Tree is started automatically on being play. This function sets the bStartLogicAutomatically property, and should be used mostly from constructions sscripts. If you wish to start the logic manually, call StartLogic().