Can we implement “NSApplicationDelegate” in some way? There is no info regarding this, only threads with no responses from years ago.
I need it to implement URL Schemes in OSX app.
Can we implement “NSApplicationDelegate” in some way? There is no info regarding this, only threads with no responses from years ago.
I need it to implement URL Schemes in OSX app.
bump! anyone?
Update: ended up writing a helper app with the wanted URI Scheme and passing it on to the actual game. Not ideal… Might figure out another way next week!
I managed to inject code into OSX players in a subtle way, so we can now extend NSApplicationDelegate and more. The OSX relevant part is at Override app delegate in Unity for iOS and OSX (4/4) Inject code to Mach-O binary, but there are meaningful considerations regrading iOS as well.
Thanks, really appreciated as a workaround but I hope that Unity implements this some day.
Well, opening the OSX project source is a feature request since 2012. Probably there is a really small fraction of Unity users who want to really integrate stuff with OSX.
I began to prototype some productivity apps (clipboard, drag-and-drop, documents, etc.), now I have an option at least.