- Home /
Editor hook for opening / closing a scene
Hello, I am attempted to check some properties on my scene file before (or just after) opening and after (or just before) closing the file.
Is there a way to hook into the open/close code for scenes in the editor? I have been pseudo-successful in getting the results I want by checking if the scene has changed during an update call, however this does not work when the user closes Unity.
Any thoughts would be appreciated. Thanks!
Comment