I am creating a Unity game for windows and Mac.
Both of them have the same code base and practically nothing changes between versions of Windows and OSX.
On OSX, every time I quit the game, it gives me "Do you really want to quit?" the message that is presented to the user before "OnApplicationQuit" is even called in any script ..
I want to get rid of this message. If I want to display a message to exit, this will definitely be a better message than "Do you really want to leave?"
Does anyone else run into this problem and is there any way to fix it?
Thanks for any help.
UPDATE
the only thing I found to override this is the native plugin to override the window close event and send - [NSApplication terminate:]. Which may work for my needs right now, but most likely it will create a whole new aspect of the problems.
source
share