how to add quit to unity code example Example: quit button unity void quitGame() { Application.Quit(); }