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

            NRFrame.OnUpdate();
        }