void OnApplicationQuit() { if (tracking != null) { tracking.Close(); } }
void OnApplicationQuit() { if (mouseSim != null) { mouseSim.Close(); } }
IEnumerator doQuit() { if (tracking != null) { tracking.Close(); } yield return(null); allowQuit = true; Application.Quit(); }