# PrefabReplacingSettings

> Settings controlling the behavior of PrefabUtility.ReplacePrefabAssetOfPrefabInstance.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public class PrefabReplacingSettings
```

## Properties

| Property                                                                                                                      | Description                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [changeRootNameToAssetName](/engine/6000.0/script-reference/unityeditor/prefabreplacingsettings/changerootnametoassetname.md) | Change the name of the root GameObject to match the name of the Prefab Asset used when replacing the Prefab Asset of a Prefab instance. |
| [logInfo](/engine/6000.0/script-reference/unityeditor/prefabreplacingsettings/loginfo.md)                                     | Setting this to true will log details about the replacement to the Console.                                                             |
| [objectMatchMode](/engine/6000.0/script-reference/unityeditor/prefabreplacingsettings/objectmatchmode.md)                     | Use this property to control if GameObjects and Components should be matched up when replacing the Prefab Asset of an Prefab instance.  |
| [prefabOverridesOptions](/engine/6000.0/script-reference/unityeditor/prefabreplacingsettings/prefaboverridesoptions.md)       | This property controls which type of overrides are attemped to be kept when replacing the Prefab Asset of an Prefab instance.           |
