Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Set the client's class of HUD and spawns a new instance of it. If there was already a HUD active, it is destroyed.
| Name | ClientSetHUD |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="HUD", Reliable, Client)
void ClientSetHUD
(
TSubclassOf < AHUD > NewHUDClass
)