Lesson 67 - Portal Setup
This commit is contained in:
30
Source/DedicatedServers/Public/UI/Portal/PortalHUD.h
Normal file
30
Source/DedicatedServers/Public/UI/Portal/PortalHUD.h
Normal file
@@ -0,0 +1,30 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
class USignInOverlay;
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/HUD.h"
|
||||
#include "PortalHUD.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class DEDICATEDSERVERS_API APortalHUD : public AHUD
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
TSubclassOf<USignInOverlay> SignInOverlayClass;
|
||||
|
||||
protected:
|
||||
|
||||
virtual void BeginPlay() override;
|
||||
private:
|
||||
UPROPERTY()
|
||||
TObjectPtr<USignInOverlay> SignInOverlay;
|
||||
};
|
||||
Reference in New Issue
Block a user