Parameter | Description |
---|---|
targetPrefab | Can be a Prefab instance in the scene or a Prefab instance in an Prefab Asset (e.g a Variant asset). |
Returns all modifications that have been applied to a particular prefab instance in a scene or modifications for a prefab instance in an asset.
This method returns an array of PropertyModification objects that represent all modifications that have been applied to the given Prefab instance.
For details about the fields of the returned PropertyModification objects, refer to SetPropertyModifications .
Alternatively, use GetObjectOverrides, which has Apply and Revert functionality to get property overrides information for a prefab instance.
GetPropertyModifications has the following limitations:
Additional resources: GetObjectOverrides GetAddedComponents GetRemovedComponents GetAddedGameObjects GetRemovedGameObjects.