Files
UnrealEngine/Engine/Plugins/Experimental/InteractionInterface/Source/InteractableInterface/Private/InteractionInterfaceModule.cpp
2025-05-18 13:04:45 +08:00

18 lines
545 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "InteractionInterfaceModule.h"
#include "Modules/ModuleManager.h"
FInteractionInterfaceModule& FInteractionInterfaceModule::Get()
{
static FInteractionInterfaceModule& Singleton = FModuleManager::LoadModuleChecked<FInteractionInterfaceModule>("InteractionInterface");
return Singleton;
}
bool FInteractionInterfaceModule::IsAvailable()
{
return FModuleManager::Get().IsModuleLoaded("InteractionInterface");
}
IMPLEMENT_MODULE(FInteractionInterfaceModule, InteractableInterface)