Minimizing a Mac Fullscreen app

Hi,

I have a Mac application that runs in full screen mode. I would like to have a button that the user can click to minimize the app and bring up a web browser.

Am I right in thinking that there is no way of minimizing the app when it is running in fullscreen either by code or pressing command-m? Why is this?

1 Answer

1

If by “minimize” you mean to minimize the window so that it only shows zoomed down into the dock, you cannot do that programmatically in Unity without writing a C/Objective-C plug in to do it. If you just want to get out of fullscreen, you can just call Screen.fullScreen = false;