class in UnityEngine.Serialization
/
Implemented in:UnityEngine.CoreModule
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.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseUtility functions related to SerializeReference manipulation and access.
See Also: SerializeReference, SerializedProperty, SerializationUtility.
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. |
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 a list of managed reference Ids assigned to objects that are referenced using SerializeReference on a specified host. |
SetManagedReferenceIdForObject | Assigns a managed reference Id to an object that is referenced using SerializeReference on a specified host. |