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

43 lines
970 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 "Engine/DataAsset.h"
#include "GameplayTagContainer.h"
#include "LyraDamagePopStyle.generated.h"
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;
};