public void CheckIfMobile() { devDetect.CheckIfMobile(); contSupp.FindControllers(); contSupp.CheckControllers(); // Show GUI Controls for Mobile Devices if (devDetect.bIsMobile && !contSupp.bControllerConnected) { DisplayControls(); } else { HideControls(); } }