Files
NERGUS/Source/NERGUS/Variant_Shooter/UI/ShooterUI.h
T
2026-08-03 00:28:44 +03:00

23 lines
527 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "ShooterUI.generated.h"
/**
* Simple scoreboard UI for a first person shooter game
*/
UCLASS(abstract)
class NERGUS_API UShooterUI : public UUserWidget
{
GENERATED_BODY()
public:
/** Allows Blueprint to update score sub-widgets */
UFUNCTION(BlueprintImplementableEvent, Category="Shooter", meta = (DisplayName = "Update Score"))
void BP_UpdateScore(uint8 TeamByte, int32 Score);
};