RealtimeStyleTransferRuntime/Source/LyraGame/Feedback/NumberPops/LyraDamagePopStyle.h

47 lines
1.1 KiB
C
Raw Permalink 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/UnrealString.h"
2022-05-23 18:41:30 +00:00
#include "Engine/DataAsset.h"
#include "GameplayTagContainer.h"
2022-09-13 07:18:28 +00:00
#include "Math/Color.h"
#include "UObject/ObjectPtr.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraDamagePopStyle.generated.h"
2022-09-13 07:18:28 +00:00
class UObject;
2022-05-23 18:41:30 +00:00
class UStaticMesh;
UCLASS()
class ULyraDamagePopStyle : public UDataAsset
{
GENERATED_BODY()
public:
ULyraDamagePopStyle();
UPROPERTY(EditDefaultsOnly, Category="DamagePop")
FString DisplayText;
UPROPERTY(EditDefaultsOnly, Category="DamagePop")
FGameplayTagQuery MatchPattern;
UPROPERTY(EditDefaultsOnly, Category="DamagePop", meta=(EditCondition=bOverrideColor))
FLinearColor Color;
UPROPERTY(EditDefaultsOnly, Category="DamagePop", meta=(EditCondition=bOverrideColor))
FLinearColor CriticalColor;
UPROPERTY(EditDefaultsOnly, Category="DamagePop", meta=(EditCondition=bOverrideMesh))
TObjectPtr<UStaticMesh> TextMesh;
UPROPERTY()
bool bOverrideColor = false;
UPROPERTY()
bool bOverrideMesh = false;
};