Esempio n. 1
0
 private void TrySetGazeInputActive(bool active)
 {
     // Ignore Always & Never Policy
     if (mGazeInput != null && mGazeInput.ActivationPolicy == GazeInputActivationPolicy.NoControllers)
     {
         if (active)
         {
             mGazeInput.Activate();
         }
         else
         {
             mGazeInput.Deactivate();
         }
     }
 }