// Copyright Epic Games, Inc. All Rights Reserved. #include "GameplayInteractionSmartObjectBehaviorDefinition.h" #include "StateTree.h" #if WITH_EDITOR void UGameplayInteractionSmartObjectBehaviorDefinition::GetPreloadDependencies(TArray& OutDeps) { Super::GetPreloadDependencies(OutDeps); if (UStateTree* StateTree = StateTreeReference.GetMutableStateTree()) { OutDeps.Add(StateTree); } } #endif //WITH_EDITOR