Exemple #1
0
    public void CheckIfMobile()
    {
        devDetect.CheckIfMobile();
        contSupp.FindControllers();

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