- Home /
Question by
Firedan1176 · Feb 21, 2015 at 01:07 AM ·
editorapplication
OnApplicationExit: System.AppDomain.CurrentDomain.ProcessExit?
I saw that using System.AppDomain.CurrentDomain.ProcessExit += new System.EventHandler(OnAppExit);
would let you call the function "OnAppExit()" before the application exits, and this doesn't work for my case in unity.
Why won't it work?
What can I do instead to make it work?
Comment
Your answer
Follow this Question
Related Questions
Is there an event/boolean for when the application is paused or resumed in the editor? 0 Answers
loading 3d models in unity editor and in deployed app 1 Answer
Can't capture Multiple Screenshots in one Second 1 Answer
Unity Editor: Detect Crash OR Editor Exit? 2 Answers
Application not installed on android 0 Answers