exiting the program in unity c# code example Example: exit game unity //Quit/Stop Game Application.Quit();