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 }