public virtual void AlignHmd() { if (m_IsHmdRecentering) { return; } m_IsHmdRecentering = true; // if (PlayerPrefsEx.GetBool("VRDevice.forceFadeOnBadTracking")) { VRContext.main.fadeFx.onBecameVisible.AddListener(AlignHmdDelayed); VRContext.FadeIn(0.0f, 0.15f); } else { m_ForceRecenterHmdFrameCount = Time.frameCount + 1; m_IsHmdRecentering = false; } }