Initial Commit - Lesson 31 (Commit #1)

This commit is contained in:
Norman Lansing
2026-02-24 22:39:26 -05:00
commit 9591e7f503
4631 changed files with 1019212 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/HUD.h"
#include "ShooterHUD.generated.h"
class UUserWidget;
/**
*
*/
UCLASS()
class FPSTEMPLATE_API AShooterHUD : public AHUD
{
GENERATED_BODY()
public:
UUserWidget* GetShooterOverlay() {return Overlay;}
protected:
virtual void BeginPlay() override;
private:
UPROPERTY(EditDefaultsOnly, Category = "Overlay")
TSubclassOf<UUserWidget> ShooterOverlayClass;
UPROPERTY()
TObjectPtr<UUserWidget> Overlay;
};