ExitApplication.QuitMethod in ExitApplicationDeclarationpublic void Quit()DescriptionQuits the application, or exits playmode if running in the editor.