Method OnBeforeSerialize
OnBeforeSerialize()
For internal use. Implementation for ISerializationCallbackReceiver. Called before Unity serialize the object. This allow to keep the configuration details when reloading assemblies or making change in the code.
Declaration
public void OnBeforeSerialize()