32 lines
499 B
C++
32 lines
499 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "PauseWidget.generated.h"
|
|
|
|
class UButton;
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class VAMPIRES_API UPauseWidget : public UUserWidget
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UPROPERTY(BlueprintReadWrite, meta=(BindWidget))
|
|
UButton* ResumeButton;
|
|
|
|
void Init();
|
|
|
|
virtual void NativeConstruct() override;
|
|
|
|
private:
|
|
|
|
UFUNCTION()
|
|
void ResumeButtonClicked();
|
|
};
|