RealtimeStyleTransferRuntime/Source/LyraGame/UI/Common/LyraBoundActionButton.h

32 lines
778 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Input/CommonBoundActionButton.h"
#include "LyraBoundActionButton.generated.h"
/**
*
*/
UCLASS(Abstract, meta = (DisableNativeTick))
class LYRAGAME_API ULyraBoundActionButton : public UCommonBoundActionButton
{
GENERATED_BODY()
protected:
virtual void NativeConstruct() override;
private:
void HandleInputMethodChanged(ECommonInputType NewInputMethod);
UPROPERTY(EditAnywhere, Category = "Styles")
TSubclassOf<UCommonButtonStyle> KeyboardStyle;
UPROPERTY(EditAnywhere, Category = "Styles")
TSubclassOf<UCommonButtonStyle> GamepadStyle;
UPROPERTY(EditAnywhere, Category = "Styles")
TSubclassOf<UCommonButtonStyle> TouchStyle;
};