Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How to quit unity app

#if UNITY_EDITOR
	UnityEditor.EditorApplication.isPlaying = false;
#else
	Application.Quit();
#endif
 
PREVIOUS NEXT
Tagged: #How #quit #unity #app
ADD COMMENT
Topic
Name
4+5 =