The Escape Button is a Feature
Jun 12, 2021
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….