Setup player preview for equipment panel
This commit is contained in:
@@ -6,8 +6,20 @@
|
||||
#include "CommonUserWidget.h"
|
||||
#include "HUDWidget.generated.h"
|
||||
|
||||
class UProgressBar;
|
||||
|
||||
UCLASS(Abstract)
|
||||
class NAKEDDESIRE_API UHUDWidget : public UCommonUserWidget
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
UPROPERTY(meta = (BindWidget))
|
||||
TObjectPtr<UProgressBar> EmbarrassmentBar;
|
||||
|
||||
protected:
|
||||
virtual void NativeConstruct() override;
|
||||
|
||||
private:
|
||||
UFUNCTION()
|
||||
void OnEmbarrassmentUpdated(float CurrentValue, float MaxValue);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user