Gets the missing serialization information for the specified object.
The information, or null, if the object does not carry serialization information.
StaticacquireAcquires the missing type information from source into the target object. This also removes the references from the source object.
The target object to inject the missing type information to.
target
StaticacquireAcquires the missing type information from source object.
The object to source the missing type information from.
Type information about the missing type.
StaticcloneClones the specified object. Non-serializable types and fields are ignored in clone. A deep copy is performed on all serializable elements except for resources or game objects.
Non-null reference to the object to clone. Object type must be serializable.
Deep copy of the original object.
StaticcompareCompares the specified objects using their serialization data. Non-serializable types and fields are ignored in compare. A deep compare is performed on all serializable elements except for resources or game objects.
A reference to the first object to be compared. Object type must be serializable.
A reference to the second object to be compared. Object type must be serializable.
True if both objects contain the same data; false otherwise.
StaticcompareCompares the specified scene objects using their serialization data. A deep compare is performed on all serializable elements of the scene objects, it's children and components.
A reference to the first scene object to be compared.
A reference to the second scene object to be compared.
True if both objects contain the same data; false otherwise.
StaticcreateStaticdeserializeStaticisStaticserializeStatictransferTransfers the missing type information from source into the target object. This also removes the references from the source object.
After transfer, the source will have its missing data fields removed, and they will be transferred to target.
The target object to inject the missing type information to.
The object to source the missing type information from.
target
The SerializationUtility class provides utility methods dealing with object serialization and diff generation.
Another way to create serialized object representations is using the SerializedObject.