how to make a button quit the game in unity code example Example: quit button unity void quitGame() { Application.Quit(); }