Select your preferred scripting language. All code snippets will be displayed in this language.
interface in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseInterface 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. |