Quit Game Button
ive made the button and used the code
public void QuitGame()
{
Application.Quit();
Debug.Log("Quit the game");
}
the debug to make sure the button is calling the function, and it is. but it doesnt end the game at all in unity? any ideas why?
public void QuitGame()
{
Application.Quit();
Debug.Log("Quit the game");
}
the debug to make sure the button is calling the function, and it is. but it doesnt end the game at all in unity? any ideas why?
