SkyPortal-plugin/Source/SkyPortal/Private/SkyPortal.cpp

25 lines
761 B
C++
Raw Normal View History

2024-09-17 15:50:37 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "SkyPortal.h"
2024-09-26 13:01:42 +00:00
#include "SkyPortalSubsystem.h"
2024-09-17 15:50:37 +00:00
#define LOCTEXT_NAMESPACE "FSkyPortalModule"
void FSkyPortalModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
}
void FSkyPortalModule::ShutdownModule()
{
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
// we call this function before unloading the module.
2024-09-26 23:39:33 +00:00
2024-10-02 06:36:43 +00:00
if (GEngine && GEngine->GetEngineSubsystem<USkyPortalSubsystem>()) {
2024-09-26 23:39:33 +00:00
GEngine->GetEngineSubsystem<USkyPortalSubsystem>()->Deinitialize();
}
2024-09-17 15:50:37 +00:00
}
#undef LOCTEXT_NAMESPACE
2024-09-18 13:30:30 +00:00
IMPLEMENT_MODULE(FSkyPortalModule, SkyPortal)