2025-05-08 17:46:09 +02:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Blueprint/UserWidget.h"
|
2025-05-22 17:21:59 +02:00
|
|
|
#include "UWBP_Debuf.generated.h"
|
2025-05-08 17:46:09 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
UCLASS()
|
2025-05-22 17:21:59 +02:00
|
|
|
class UUWBP_Debuf : public UUserWidget
|
2025-05-08 17:46:09 +02:00
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
public:
|
|
|
|
|
UPROPERTY(EditAnywhere, meta = (BindWidget))
|
2025-05-22 17:21:59 +02:00
|
|
|
class UUWBP_RoundProgressBar* ProgressBar;
|
2025-05-08 17:46:09 +02:00
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, meta = (BindWidget))
|
2025-05-22 17:21:59 +02:00
|
|
|
class UImage* DebufImage;
|
2025-05-08 17:46:09 +02:00
|
|
|
|
2025-05-22 17:21:59 +02:00
|
|
|
void SetTexture(UTexture2D* texture);
|
|
|
|
|
|
|
|
|
|
void SetPrecent(float precent);
|
2025-05-08 17:46:09 +02:00
|
|
|
};
|