Question by
Yerendi · Aug 15, 2016 at 09:05 AM ·
gameobjecteditordestroyeditor-scriptingevent
Information about when it is destroyed any GameObject on scene.
Hello, I have a scene where I have a lot of GOs and an editor script that is used to work with this scene. In this script, I would like to know when is destroyed any of scene objects (by using delete in hierarchy, by code or anything else). Any ideas? (maybe destroying GO is rising global event and I can simply sign up to it?)
Comment