RealtimeStyleTransferRuntime/Source/LyraGame/UI/Foundation/LyraControllerDisconnectedS...

22 lines
586 B
C++
Raw Permalink Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "LyraControllerDisconnectedScreen.h"
#include "Components/HorizontalBox.h"
2022-09-13 07:18:28 +00:00
#include "HAL/PlatformApplicationMisc.h"
2022-05-23 18:41:30 +00:00
void ULyraControllerDisconnectedScreen::NativeOnActivated()
{
Super::NativeOnActivated();
HBox_SwitchUser->SetVisibility(ESlateVisibility::Collapsed);
//#if PLATFORM_HAS_STRICT_CONTROLLER_PAIRING
2022-09-13 07:18:28 +00:00
// if (FPlatformApplicationMisc::GetControllerIdForUnpairedControllers() != INDEX_NONE)
2022-05-23 18:41:30 +00:00
// {
// HBox_SwitchUser->SetVisibility(ESlateVisibility::SelfHitTestInvisible);
// }
//#endif
}