OnAfterDeserialize()
Implement this callback to transform data back into runtime data types after an object is deserialized.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
void OnAfterDeserialize()
Remarks
Unity invokes the callback on an object after deserializing it. In this callback, you can transform the deserialized data back into your preferred runtime data type.
OnAfterDeserializeRefer to Custom serialization in the Manual for more information.