9#include "Developer/Settings/Public/ISettingsModule.h"
10#include "UObject/Package.h"
12#define LOCTEXT_NAMESPACE "FVaRestModule"
16 ModuleSettings = NewObject<UVaRestSettings>(GetTransientPackage(),
"VaRestSettings", RF_Standalone);
20 if (ISettingsModule* SettingsModule = FModuleManager::GetModulePtr<ISettingsModule>(
"Settings"))
22 SettingsModule->RegisterSettings(
"Project",
"Plugins",
"VaRest",
23 LOCTEXT(
"RuntimeSettingsName",
"VaRest"),
24 LOCTEXT(
"RuntimeSettingsDescription",
"Configure VaRest plugin settings"),
33 if (ISettingsModule* SettingsModule = FModuleManager::GetModulePtr<ISettingsModule>(
"Settings"))
35 SettingsModule->UnregisterSettings(
"Project",
"Plugins",
"VaRest");
58#undef LOCTEXT_NAMESPACE
IMPLEMENT_MODULE(FOpenXRExpansionEditorModule, OpenXRExpansionEditor)
DEFINE_LOG_CATEGORY(LogVaRest)
UVaRestSettings * ModuleSettings
virtual void ShutdownModule() override
UVaRestSettings * GetSettings() const
virtual void StartupModule() override
static FString GetVaRestVersion()
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (DisplayName = "Get VaRest Version"))
UCLASS(config = Engine, defaultconfig)