You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Added WITH_ENGINE wrappers to some code in MacTargetPlatform that doesn't work without engine
#rb tim.smith #jira none #preflight 63575537f726e94fe029697c [CL 22744958 by Josh Adams in ue5-main branch]
This commit is contained in:
@@ -41,6 +41,7 @@ public:
|
||||
|
||||
virtual void StartupModule() override
|
||||
{
|
||||
#if WITH_ENGINE
|
||||
TargetSettings = NewObject<UMacTargetSettings>(GetTransientPackage(), "MacTargetSettings", RF_Standalone);
|
||||
|
||||
// We need to manually load the config properties here, as this module is loaded before the UObject system is setup to do this
|
||||
@@ -78,10 +79,12 @@ public:
|
||||
TargetSettings
|
||||
);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
virtual void ShutdownModule() override
|
||||
{
|
||||
#if WITH_ENGINE
|
||||
ISettingsModule* SettingsModule = FModuleManager::GetModulePtr<ISettingsModule>("Settings");
|
||||
|
||||
if (SettingsModule != nullptr)
|
||||
@@ -98,6 +101,7 @@ public:
|
||||
{
|
||||
TargetSettings = NULL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// End IModuleInterface interface
|
||||
|
||||
Reference in New Issue
Block a user