Hi
Is there any way to detect when the Unity Editor shuts down? I have an EditorWindow that needs to be informed when Unity Quits and OnDestroy is not called.
Hacky workarounds are also welcome ![]()
Many thanks.
Hi
Is there any way to detect when the Unity Editor shuts down? I have an EditorWindow that needs to be informed when Unity Quits and OnDestroy is not called.
Hacky workarounds are also welcome ![]()
Many thanks.
Have you tried:
function OnApplicationQuit(){
}