Answers for "how to end game in unity"

C#
1

unity how to end a game with esc

void Update()
{
    if (Input.GetKey(KeyCode.Escape))
    {
        Application.Quit();
    }
}
Posted by: Guest on January-17-2020

C# Answers by Framework

Browse Popular Code Answers by Language