- Home /
How to quit unity game from iOS native app and release the memory
I am trying to integrate unity app into my iOS native app. I am able to launch when ever I want, but I cannot able to quit unity app once the game is completed. How to quit the unity and release the memory?
Have you simply tried Application.Quit ?
http://docs.unity3d.com/ScriptReference/Application.Quit.html
FAQ :
Some reasons for getting a post rejected:
You haven't provided enough context: we need more information about your problem, relevant code snippets and what you have tried already.
I followed this Ref: http://www.the-nerd.be/2015/11/13/integrate-unity-5-in-a-native-ios-app-with-xcode-7/
$$anonymous$$y requirement is I need to quit unity and continue using my app. Also if click on the button i need start the unity again.
i tried Application.Unload ();
it works the first time but the second time i click on play button it crashed my game any help ?
Answer by yoiiiuk · Sep 20, 2018 at 11:28 AM
There i posted my ideas about it. https://stackoverflow.com/a/52424118/5790492