Interface to receive callbacks upon serialization and deserialization.
OnAfterDeserialize | See ISerializationCallbackReceiver.OnBeforeSerialize for documentation on how to use this method. |
OnBeforeSerialize | Implement this method to receive a callback after unity serialized your object. |