private void OnApplicationQuit() { Debug.Log("Closing sensor"); if (sensor != null) { sensor.Close(); } Debug.Log("Closed the sensor"); }
private void OnApplicationQuit() { sensor.Close(); }