32 lines
778 B
C
32 lines
778 B
C
|
// 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;
|
||
|
};
|