RealtimeStyleTransferRuntime/Source/LyraGame/Settings/CustomSettings/LyraSettingAction_SafeZoneE...

38 lines
865 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
2022-09-13 07:18:28 +00:00
#include "Containers/Array.h"
2022-05-23 18:41:30 +00:00
#include "GameSettingAction.h"
#include "GameSettingValueScalarDynamic.h"
2022-09-13 07:18:28 +00:00
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraSettingAction_SafeZoneEditor.generated.h"
2022-09-13 07:18:28 +00:00
class UGameSetting;
class UObject;
2022-05-23 18:41:30 +00:00
UCLASS()
class ULyraSettingValueScalarDynamic_SafeZoneValue : public UGameSettingValueScalarDynamic
{
GENERATED_BODY()
public:
virtual void ResetToDefault() override;
virtual void RestoreToInitial() override;
};
UCLASS()
class ULyraSettingAction_SafeZoneEditor : public UGameSettingAction
{
GENERATED_BODY()
public:
ULyraSettingAction_SafeZoneEditor();
virtual TArray<UGameSetting*> GetChildSettings() override;
private:
UPROPERTY()
2022-09-13 07:18:28 +00:00
TObjectPtr<ULyraSettingValueScalarDynamic_SafeZoneValue> SafeZoneValueSetting;
2022-05-23 18:41:30 +00:00
};