#if UNITY_EDITOR UnityEditor.EditorApplication.isPlaying = false ; #else Application.Quit (); #endif