Files
UnrealEngine/Engine/Plugins/ChaosInsights/Source/ChaosInsightsUI/Private/ChaosInsightsUIModule.cpp
2025-05-18 13:04:45 +08:00

24 lines
666 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ChaosInsightsUIModule.h"
#include "Modules/ModuleManager.h"
#include "Features/IModularFeatures.h"
#include "Insights/ITimingViewExtender.h"
namespace ChaosInsights
{
void FChaosInsightsUIModule::StartupModule()
{
IModularFeatures::Get().RegisterModularFeature(UE::Insights::Timing::TimingViewExtenderFeatureName, &TimingViewExtender);
}
void FChaosInsightsUIModule::ShutdownModule()
{
IModularFeatures::Get().UnregisterModularFeature(UE::Insights::Timing::TimingViewExtenderFeatureName, &TimingViewExtender);
}
}
IMPLEMENT_MODULE(ChaosInsights::FChaosInsightsUIModule, ChaosInsightsUI);