#include <CommonButtonWithText.h>
◆ Initialize()
| bool UCommonButtonWithText::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
10{
11 const bool Success = Super::Initialize();
13 if (!ensure(
TextBlock !=
nullptr))
return false;
14 return true;
15}
class UTextBlock * TextBlock
Definition CommonButtonWithText.h:37
◆ NativeConstruct()
| void UCommonButtonWithText::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
25{
26 Super::NativeConstruct();
29}
void SetAction()
Definition CommonButtonWithText.cpp:40
FText TextContent
Definition CommonButtonWithText.h:25
void SetText(const FText &Text)
Definition CommonButtonWithText.cpp:31
◆ NativePreConstruct()
| void UCommonButtonWithText::NativePreConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
18{
19 Super::NativePreConstruct();
22}
◆ SetAction()
| void UCommonButtonWithText::SetAction |
( |
| ) |
|
41{
42 if(InputActionWidget == nullptr){return;}
44 {
45 InputActionWidget->SetVisibility(ESlateVisibility::Visible);
46 }
47 else
48 {
49 InputActionWidget->SetVisibility(ESlateVisibility::Collapsed);
50 }
51}
bool bUseAction
Definition CommonButtonWithText.h:27
◆ SetText()
| void UCommonButtonWithText::SetText |
( |
const FText & | Text | ) |
|
◆ bUseAction
| bool UCommonButtonWithText::bUseAction = true |
◆ TextBlock
| class UTextBlock* UCommonButtonWithText::TextBlock |
|
protected |
◆ TextContent
| FText UCommonButtonWithText::TextContent |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/CommonUIStyle/Source/CommonUIStyle/Public/Widgets/CommonButtonWithText.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/CommonUIStyle/Source/CommonUIStyle/Private/Widgets/CommonButtonWithText.cpp