Create WeaponPickupUserWidget

This commit is contained in:
baz 2024-05-17 17:34:45 +01:00
parent 6417470a92
commit d200298ea6
4 changed files with 43 additions and 0 deletions

BIN
Content/Enemy/BP_WeaponPickupTemplate.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Enemy/BP_WeaponPickupWidget.uasset (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "../UI/WeaponPickupUserWidget.h"

View File

@ -0,0 +1,32 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include <Components/TextBlock.h>
#include "WeaponPickupUserWidget.generated.h"
/**
*
*/
UCLASS()
class NAKATOMI_API UWeaponPickupUserWidget : public UUserWidget
{
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UTextBlock* AmmoText;
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UTextBlock* ProjectilesText;
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UTextBlock* CooldownText;
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UTextBlock* SpreadText;
};