I do a lot of test builds and was wondering if there was a default built in hotkey to exit a unity executable instead of having to alt-tab and shut down manually. I realize I can code one but was just wondering if they have something built in. Cheers.
There’s nothing built-in unless you coded it. Just include this somewhere in a script attached to any gameobject in the scene:
void Update() {
if(Input.GetKeyDown(KeyCode.Escape))
Application.Quit();
}
ALT+F4 is working splendidly, thanks ![]()