GameDev : Quit Application in Unity!

--

The last thing we need is the Exit Application button.
If the game is running full screen, we need to program the game / software so we can get out!

Easy to understand, the Game Manager manage the flow of our game, so inside it we create an Escape button.

Again, google it!
“How can quit application in Unity”

We find this : Application.Quit()

To try it, we need to Build the game, and when we are in FullScreen, we press Escape key to Quit the Application.

--

--

Matteo Lo Piccolo
Matteo Lo Piccolo

Written by Matteo Lo Piccolo

Always in love with programming, even if late (I'm already 39 years old) I decided to follow my dream! We will see how far my passion will take me!

No responses yet