OnAfterDeserialize()
Implement this callback to transform data back into runtime data types after an object is deserialized.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. For example, use key and value arrays to repopulate a C# object.
OnAfterDeserializeDictionaryRefer to Custom serialization in the Manual for more information.