- Home /
Method that runs every time unity clears non-serializable properties
I have a code that needs add a handler to runtime scriptable object (singleton) to receive all invokes. but whenver the unity reloads the domain (or clears the non-serializable properties), the handler list is cleared and the instance stops receiving the invokes. Is there an event that runs AFTER the unity clears the non-serializable properties?
myRuntimeScriptableObject.instance.AddHandler(new MyEditorOnlyHandler());
Your answer
Follow this Question
Related Questions
How do I associate my custom object for the serializedProperty objectReferenceValue 1 Answer
Scriptable Objects, how to force Include in Compile / Build without referencing it in the scene? 1 Answer
ScriptableSingleton inspector is disabled 0 Answers
Is there any way to associate a "custom asset" with a particular file type? 1 Answer
Is there any event or delegate that is called with OnValidate() ? 0 Answers