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

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

            SubscribeToUserPositionGuide = false;

            EyeTrackingOperations.Terminate();
        }
示例#4
0
 void OnDestroy()
 {
     EyeTrackingOperations.Terminate();
 }
示例#5
0
 private void OnApplicationQuit()
 {
     EyeTrackingOperations.Terminate();
 }