File size: 1,293 Bytes
e3db8a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include "GameplayEffectUIData.h"
#include "UObject/ObjectPtr.h"

#include "TopDownArenaPickupUIData.generated.h"

class UNiagaraSystem;
class UObject;
class USoundBase;
class UTexture2D;

// Icon and display name for pickups in the top-down arena game
UCLASS(BlueprintType)
class UTopDownArenaPickupUIData : public UGameplayEffectUIData
{
	GENERATED_BODY()

public:

	// The full description of the pickup
	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category=Data, meta=(MultiLine="true"))
	FText Description;

	// The short description of the pickup (displayed by the player name when picked up)
	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category=Data, meta=(MultiLine="true"))
	FText ShortDescriptionForToast;
	
	// The icon material used to show the pickup in the world
	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category=Data)
	TObjectPtr<UTexture2D> IconTexture;

	// The pickup VFX override
	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = Data)
	TObjectPtr<UNiagaraSystem> PickupVFX;

	// The pickup SFX override (if not set, a default will play)
	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = Data)
	TObjectPtr<USoundBase> PickupSFX;
};