Lesson 56 - API Test HUD

This commit is contained in:
Norman Lansing
2026-03-26 21:38:50 -04:00
parent f093212884
commit 0fecdf2df7
10 changed files with 112 additions and 21 deletions

View File

@@ -0,0 +1,31 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
class UAPITestOverlay;
#include "CoreMinimal.h"
#include "GameFramework/HUD.h"
#include "APITestHUD.generated.h"
/**
*
*/
UCLASS()
class DEDICATEDSERVERS_API AAPITestHUD : public AHUD
{
GENERATED_BODY()
public:
UPROPERTY(EditDefaultsOnly)
TSubclassOf<UAPITestOverlay> APITestOverlayClass;
protected:
virtual void BeginPlay() override;
private:
UPROPERTY()
TObjectPtr<UAPITestOverlay> APITestOverlay;
};