Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to make a quit button in unity

 //need to build to work
    public void quitGame() 
    {
        Application.Quit();
    }
 
PREVIOUS NEXT
Tagged: #quit #button #unity
ADD COMMENT
Topic
Name
2+4 =