The escape key is one of the most clicked keys ever, leaving it unused seemed wrong, so here we are talking about the various uses of this wonderful key. The escape key is one of the most clicked keys ever, leaving it unused seemed wrong, so here we are talking about the various uses of this wonderful key.
Let’s start with the most common use but with the least response, a new game starts, there are all the splash screens of the components and software houses that have worked on it and we are there like obsessed to press that button hoping that for some strange reason this speeds up the process. If we are lucky, as soon as the cutscene starts before the title, some programmer who lives our same nightmare has programmed the possibility to skip it and go on to the titles.
It actually allows us to skip cutscenes or speeches in our opinion boring, which immediately after will lead us to ask “so now what should I do?”.
Or they allow you to open the pause in a game or exit the game’s menus.
I have chosen another option, the Esc key will be enabled only when the game is finished and will allow you to close the game.
To do this, as always, Unity offers a quick and easy solution.
Unity offers a class “Application”, which has a static method “Quit()” that will terminate the game. Everything here is very simple.
Just remember that to test it is necessary to make a build.
These are only used related to the world of video games, always remember that it is part of the group of bad guys, in fact, the combo ctrl+shift+esc is the fastest way to open the task manager even faster than the usual ctrl+alt+del.