// Copyright Epic Games, Inc. All Rights Reserved. #include "LyraControllerDisconnectedScreen.h" #include "Components/HorizontalBox.h" #include "HAL/PlatformApplicationMisc.h" void ULyraControllerDisconnectedScreen::NativeOnActivated() { Super::NativeOnActivated(); HBox_SwitchUser->SetVisibility(ESlateVisibility::Collapsed); //#if PLATFORM_HAS_STRICT_CONTROLLER_PAIRING // if (FPlatformApplicationMisc::GetControllerIdForUnpairedControllers() != INDEX_NONE) // { // HBox_SwitchUser->SetVisibility(ESlateVisibility::SelfHitTestInvisible); // } //#endif }