Compare commits
No commits in common. "a6f598782d30e85433c73c51b338dd74a2922e4c" and "b097171f8f1bc7da6e2b917f783e903d0c30bad0" have entirely different histories.
a6f598782d
...
b097171f8f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
// Copyright; GhostPacket Games
|
||||
|
||||
#include "UI/HUD/AuraHUD.h"
|
||||
|
||||
#include "UI/Widgets/AuraUserWidget.h"
|
||||
|
||||
void AAuraHUD::BeginPlay()
|
||||
{
|
||||
Super::BeginPlay();
|
||||
|
||||
UUserWidget *Widget = CreateWidget<UUserWidget>(GetWorld(), OverlayWidgetClass);
|
||||
Widget->AddToViewport ();
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
// Copyright; GhostPacket Games
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/HUD.h"
|
||||
#include "AuraHUD.generated.h"
|
||||
|
||||
class UAuraUserWidget;
|
||||
|
||||
UCLASS()
|
||||
class AURA_API AAuraHUD : public AHUD
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UPROPERTY ()
|
||||
TObjectPtr<UAuraUserWidget> OverlayWidget;
|
||||
|
||||
protected:
|
||||
virtual void BeginPlay() override;
|
||||
|
||||
private:
|
||||
UPROPERTY(EditAnywhere)
|
||||
TSubclassOf<UAuraUserWidget> OverlayWidgetClass;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user