PR #9910: Create Setter for auto start property for state tree (Contributed by Duroxxigar)

#rb Mikko.Mononen
#preflight 639af82535203bc7aa4c030a

[CL 23531355 by Duroxxigar in ue5-main branch]
This commit is contained in:
Duroxxigar
2022-12-15 15:55:44 -05:00
parent 12fe8606a6
commit 9c814d5e8d
2 changed files with 10 additions and 1 deletions
@@ -322,6 +322,11 @@ void UStateTreeComponent::OnGameplayTaskInitialized(UGameplayTask& Task)
}
}
void UStateTreeComponent::SetStartLogicAutomatically(const bool bInStartLogicAutomatically)
{
bStartLogicAutomatically = bInStartLogicAutomatically;
}
void UStateTreeComponent::SendStateTreeEvent(const FStateTreeEvent& Event)
{
SendStateTreeEvent(Event.Tag, Event.Payload, Event.Origin);