Skip to content
Snippets Groups Projects
Commit de247322 authored by Peter Gschladt's avatar Peter Gschladt
Browse files

Merge branch 'feature/doortooltip' into 'dev/5.5'

Feature/doortooltip

See merge request !11
parents 1edab4f7 9974b528
No related branches found
No related tags found
1 merge request!11Feature/doortooltip
No preview for this file type
......@@ -217,6 +217,12 @@ void ACAVEOverlayController::BeginPlay()
// Set Text to "" until someone presses the key for the first time
Overlay->CornerText->SetText(FText::FromString(""));
// Make tooltip visible on primary node only
if (ScreenType == SCREEN_PRIMARY)
{
Overlay->Tooltip->SetVisibility(ESlateVisibility::Visible);
}
if (!SignStaticMesh)
{
UE_LOGFMT(LogCAVEOverlay, Error, "SignStaticMesh not set in CaveOverlayController!");
......
......@@ -22,6 +22,9 @@ public:
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UTextBlock* CornerText;
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UTextBlock* Tooltip;
UPROPERTY(BlueprintReadWrite, meta = (BindWidget))
UBorder* BlackBox;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment