private IEnumerator OnUpdate() { while (!m_IsDestroyed) { NRFrame.OnUpdate(); yield return(new WaitForEndOfFrame()); } }
private void Update() { if (SessionState == SessionState.Running) { m_LostTrackingReason = NativeAPI.NativeHeadTracking.GetTrackingLostReason(); } NRFrame.OnUpdate(); }