Unity编辑器模式下退出

Unity 编辑器模式下按键退出运行状态:



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


猜你喜欢

转载自blog.csdn.net/fucun1984686003/article/details/50922393