default exit strategy

If I create and run a Mac application but forgot to include code like this:

if (Input.GetKey("escape")) Application.Quit();

Is there an easy way to break out of it?

I seemed kind of stuck before but managed to get out after pressing some unknown combo on the keyboard.

CMD+Q will quit out of most applications on OS X.

2 Likes

On Windows the default exit is alt+F4

You can also force quit the application, by terminating its process. On windows you can do this with ctrl+alt+del. I’m sure there is an equivalent on the MAC OS.

1 Like

This seems to work. Thank you.

It should be pointed out that Command-Q isn’t magic; it’s a menu shortcut. Find the menu bar at the top of the screen; you can explore all your menu commands and their shortcuts there. (Not that there are all that many, in a Unity game.)

3 Likes