exit button unity code
Code Example - exit button unity code
void doExitGame() {
Application.Quit();
}
quit button unity
void quitGame() {
Application.Quit();
}
how to make a quit button in unity
//need to build to work
public void quitGame()
{
Application.Quit();
}