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 | Implement this method to receive a callback after Unity de-serializes your object. |
OnBeforeSerialize | Implement this method to receive a callback before Unity serializes your object. |