12-18-2019 07:33 AM
12-27-2019 01:20 AM
01-11-2020 09:22 AM
if (Menu.bQuit) //indication in my own code that we should quit
{
#if UNITY_EDITOR
//Application.Quit() does not work in the editor so
// this need to be set to false to end the game
UnityEditor.EditorApplication.isPlaying = false;
#else
UnityEngine.Application.Quit();
#endif
}