I want to initialise some static members in the Start() call of an object. Of course I also have to clear that informaton. Is there any way to react when an object in a level is destroyed? The object itself is not dynamic so it only gets destroyed when the scene is unloaded.
I think I read somewhere that there were going to add an OnDestroy-kind of thing at some point. For now I am using OnDisable() to handle static cleanup like you mentioned.
put some variable on the gameobject in a script use gameobject.find to check it. if it doesnt exist then your object is gone.