RealtimeStyleTransferRuntime/Source/LyraGame/Hotfix/LyraRuntimeOptions.cpp

22 lines
532 B
C++
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "LyraRuntimeOptions.h"
2022-09-13 07:18:28 +00:00
#include "Containers/UnrealString.h"
#include "HAL/Platform.h"
2022-05-23 18:41:30 +00:00
ULyraRuntimeOptions::ULyraRuntimeOptions()
{
OptionCommandPrefix = TEXT("ro");
}
ULyraRuntimeOptions* ULyraRuntimeOptions::GetRuntimeOptions()
{
return GetMutableDefault<ULyraRuntimeOptions>();
}
const ULyraRuntimeOptions& ULyraRuntimeOptions::Get()
{
const ULyraRuntimeOptions& RuntimeOptions = *GetDefault<ULyraRuntimeOptions>();
return RuntimeOptions;
}