Utility functions related to Serialization.
Additional resources: SerializeReference, SerializedProperty.
RefIdNull | Special value, -2, used as the managed reference Id of any field decorated with SerializeReference that has no object assigned to it. |
RefIdUnknown | Special value, -1, used when the managed reference Id for an object is unknown, for example if GetManagedReferenceIdForObject is called with invalid arguments. |
ClearAllManagedReferencesWithMissingTypes | Removes all managed references that are missing their type. |
ClearManagedReferenceWithMissingType | Drop the serialized data associated with a specific managed reference object that is missing its type. |
GetManagedReference | Retrieves an object based on its managed reference Id. |
GetManagedReferenceIdForObject | Retrieves the managed reference Id for an object that is referenced using SerializeReference. |
GetManagedReferenceIds | Retrieves the list of managed reference Ids assigned to objects that are referenced using SerializeReference. |
GetManagedReferencesWithMissingTypes | Returns the list of managed references that could not be deserialized because of a missing type. |
HasManagedReferencesWithMissingTypes | This API returns true if one or more managed references is missing its type. |
SetManagedReferenceIdForObject | Assigns a managed reference Id to an object that is referenced using SerializeReference. |