Files
UnrealEngine/Engine/Plugins/Runtime/GameplayInteractions/Source/GameplayInteractionsModule/Private/GameplayInteractionSmartObjectBehaviorDefinition.cpp
2025-05-18 13:04:45 +08:00

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