C#C
C#2y ago
4 replies
ULTIMA

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?
Was this page helpful?