#include <PrimaryLayoutWidget.h>
◆ Initialize()
| bool UPrimaryLayoutWidget::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
12{
13 const bool Success = Super::Initialize();
15 if (!ensure(
GameLayer !=
nullptr))
return false;
17 if (!ensure(
MenuLayer !=
nullptr))
return false;
18 if (!ensure(
ModalLayer !=
nullptr))
return false;
20 return true;
21}
◆ NativeConstruct()
| void UPrimaryLayoutWidget::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
29{
30 Super::NativeConstruct();
31}
◆ NativePreConstruct()
| void UPrimaryLayoutWidget::NativePreConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
24{
25 Super::NativePreConstruct();
26}
◆ RegisterLayers()
| bool UPrimaryLayoutWidget::RegisterLayers |
( |
| ) |
|
34{
36 if(PlayerController ==
nullptr){UE_LOG(LogBaseWidgets,
Error, TEXT(
"PlayerController in UPrimaryLayoutWidget::RegisterLayers"));
return false;}
42 return true;
43}
Definition PlayerControllerInterface.h:21
virtual bool RegisterLayer(const FGameplayTag LayerName, UUserWidget *LayerWidget)=0
◆ GameLayer
◆ GameMenuLayer
◆ MenuLayer
◆ ModalLayer
◆ NotificationLayer
◆ RootOverlay
| class UOverlay* UPrimaryLayoutWidget::RootOverlay |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Public/Widgets/PrimaryLayoutWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Private/Widgets/PrimaryLayoutWidget.cpp