Files
UnrealEngine/Engine/Plugins/Runtime/GameplayInteractions/Source/GameplayInteractionsModule/Private/GameplayInteractionSmartObjectBehaviorDefinition.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

19 lines
525 B
C++

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