/// <summary> /// If the HSW has been visible for the necessary amount of time, this will make it disappear. /// </summary> public static void DismissHSWDisplay() { if (!isHmdPresent) { return; } OVRPlugin.DismissHSW(); }
/// <summary> /// If the HSW has been visible for the necessary amount of time, this will make it disappear. /// </summary> public static void DismissHSWDisplay() { if (!UnityEngine.XR.XRDevice.isPresent) { return; } OVRPlugin.DismissHSW(); }
/// <summary> /// If the HSW has been visible for the necessary amount of time, this will make it disappear. /// </summary> public static void DismissHSWDisplay() { if (!VR.VRDevice.isPresent) { return; } OVRPlugin.DismissHSW(); }
/// <summary> /// If the HSW has been visible for the necessary amount of time, this will make it disappear. /// </summary> public static void DismissHSWDisplay() { #if !UNITY_ANDROID || UNITY_EDITOR OVRPlugin.DismissHSW(); if (HSWDismissed != null) { HSWDismissed(); } #endif }