private void OnApplicationQuit()
        {
            if (_tooManyEyeTrackerInstances)
            {
                return;
            }

            EyeTrackingOperations.Terminate();
        }
Esempio n. 2
0
 private void OnApplicationQuit()
 {
     try
     {
         Debug.Log("Terminating eye tracker operation.");
         eyeTracker.GazeDataReceived -= EyeTracker_GazeDataReceived;
         EyeTrackingOperations.Terminate();
     }
     catch {}
 }
Esempio n. 3
0
        private void OnApplicationQuit()
        {
            if (_tooManyEyeTrackerInstances)
            {
                return;
            }

            SubscribeToUserPositionGuide = false;

            EyeTrackingOperations.Terminate();
        }
Esempio n. 4
0
 void OnDestroy()
 {
     EyeTrackingOperations.Terminate();
 }
Esempio n. 5
0
 private void OnApplicationQuit()
 {
     EyeTrackingOperations.Terminate();
 }