how to make a quite button unity code example
Example 1: quit button unity
void quitGame() {
Application.Quit();
}
Example 2: exit button unity code
void doExitGame() { Application.Quit(); }
void quitGame() {
Application.Quit();
}
void doExitGame() { Application.Quit(); }