Files
2025-05-18 13:04:45 +08:00

25 lines
920 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "GeometryCollectionTracksModule.h"
#if WITH_EDITOR
#include "GeometryCollectionSequencerModule.h"
#include "GeometryCollection/GeometryCollectionComponentPlugin.h"
#endif // WITH_EDITOR
IMPLEMENT_MODULE(FGeometryCollectionTracksModule, GeometryCollectionTracks)
void FGeometryCollectionTracksModule::StartupModule()
{
#if WITH_EDITOR
FGeometryCollectionSequencerModule& Module = FModuleManager::LoadModuleChecked<FGeometryCollectionSequencerModule>(TEXT("GeometryCollectionSequencer"));
//HACK: The geometry collection engine module will not be added to live coding without this.
//We should probably move the engine module into this plugin or something, but for now this makes it so we can change the GC engine module and use live coding
IGeometryCollectionComponentPlugin::Get();
#endif
}
void FGeometryCollectionTracksModule::ShutdownModule()
{
}