private void OnApplicationQuit() { if (_tooManyEyeTrackerInstances) { return; } EyeTrackingOperations.Terminate(); }
private void OnApplicationQuit() { try { Debug.Log("Terminating eye tracker operation."); eyeTracker.GazeDataReceived -= EyeTracker_GazeDataReceived; EyeTrackingOperations.Terminate(); } catch {} }
private void OnApplicationQuit() { if (_tooManyEyeTrackerInstances) { return; } SubscribeToUserPositionGuide = false; EyeTrackingOperations.Terminate(); }
void OnDestroy() { EyeTrackingOperations.Terminate(); }
private void OnApplicationQuit() { EyeTrackingOperations.Terminate(); }