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

            NRFrame.OnUpdate();
        }