Answers for "exit button c#"

C#
2

c# how to exit program

System.Environment.Exit(1);
Posted by: Guest on June-01-2020
0

c# quit button script

public class MainMenu : MonoBehaviour
{

    public void QuitGame()
    {
        Application.Quit();
    }
}
//add QuitGame to the Button On click Function
//Fill the object accordingly
Posted by: Guest on April-22-2022

C# Answers by Framework

Browse Popular Code Answers by Language