private static void OnReload()
        {
#if !OPENVR_XR_API
            SteamVR_AutoEnableVR_UnityXR.InstallAndEnableUnityXR();
#else
            //since we already have xr installed, we know we just want to enable it
            SteamVR_AutoEnableVR_UnityXR.EnableUnityXR();
#endif
        }
        private static void OnReload()
        {
#if !OPENVR_XR_API
            //if we don't have xr installed, check to see if we have vr installed. if we don't have vr installed, ask which they do want to install.
            SteamVR_AutoEnableVR_2019.CheckAndAsk();
#else
            //since we already have xr installed, we know we just want to enable it
            SteamVR_AutoEnableVR_UnityXR.EnableUnityXR();
#endif
        }
        private static void ShowDialog()
        {
            int shouldInstall = UnityEditor.EditorUtility.DisplayDialogComplex("SteamVR", "The SteamVR Unity Plugin can be used with the legacy Unity VR API (Unity 5.4 - 2019) or with the Unity XR API (2019+). Would you like to install in legacy VR mode or for Unity XR?", "Legacy VR", "Cancel", "Unity XR");

            switch (shouldInstall)
            {
            case 0:     //legacy vr
                SteamVR_AutoEnableVR_UnityPackage.InstallAndEnableUnityVR();
                break;

            case 1:     //cancel
                break;

            case 2:     //unity xr
                SteamVR_AutoEnableVR_UnityXR.InstallAndEnableUnityXR();
                break;
            }

            End();
        }