17 lines
433 B
C++
17 lines
433 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "GameplayInteractionSmartObjectBehaviorDefinition.h"
|
|
#include "StateTree.h"
|
|
|
|
#if WITH_EDITOR
|
|
void UGameplayInteractionSmartObjectBehaviorDefinition::GetPreloadDependencies(TArray<UObject*>& OutDeps)
|
|
{
|
|
Super::GetPreloadDependencies(OutDeps);
|
|
|
|
if (UStateTree* StateTree = StateTreeReference.GetMutableStateTree())
|
|
{
|
|
OutDeps.Add(StateTree);
|
|
}
|
|
}
|
|
#endif //WITH_EDITOR
|