Bradley Yachimowski
Bradley Yachimowski

Jun 12, 2021

·
1 min read

The Escape Button is a Feature

Objective: Provide functionality to quit a Unity application using the “Escape” (Esc) key.

This is a simple task to complete thanks to the “Application.Quit( )” function. Place the above code in a “void Update( )” function body as shown below and you are finished.

Until next time….

Gamedevhq
Unity

--

--

More from Bradley Yachimowski

Recommended from Medium

NDN Link Official

NDN Link Official

in

NDN Link Official

Stable Connection For Your Online Business Conference

Arctos

Arctos

in

Arctos En

Arctos Biweekly Report: Sep 28th — Oct 11th

Jair Rios O'Hara

Jair Rios O'Hara

Building my own PHP Framework (Part 1: Front Controller)

Ali Shalabi

Ali Shalabi

Finding The Length Of A Linked List

LockTrip.com (LOC Token) Official Blog

LockTrip.com (LOC Token) Official Blog

in

LockTrip

Sneak-Peeking the Mega Inventory Update

Salifyanji Taala

Salifyanji Taala

How to truncate data in a Postgres database

aruva - empowering ideas

aruva - empowering ideas

Top tips for becoming a better programmer

Sanooj Mananghat

Sanooj Mananghat

Terraform v0.12.0 Spoiler: Recompiling third-party providers

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Bradley Yachimowski

Bradley Yachimowski

5 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech