예제 #1
0
 public void EnterVRMode()
 {
     if (device != null)
     {
         if (!hasEnterVRMode)
         {
             hasEnterVRMode = true;
             device.EnterVRMode();
             if (NvrGlobal.supportDtr)
             {
                 NvrReticle nvrReticle = Camera.main.GetComponentInChildren <NvrReticle>();
                 if (nvrReticle != null && GazeInputModule.gazePointer == (INvrGazePointer)nvrReticle)
                 {
                     nvrReticle.showReticle      = false;
                     GazeInputModule.gazePointer = null;
                 }
             }
         }
     }
 }