To Quit the game whilst running in the Unity Editor;

Change the QuitGame method in the Level Manager:

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

Privacy & Terms