PrefabReplacingSettings
Settings controlling the behavior of PrefabUtility.ReplacePrefabAssetOfPrefabInstance.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor
public class PrefabReplacingSettings
Properties
Property | Description |
|---|---|
| changeRootNameToAssetName | 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 | Setting this to true will log details about the replacement to the Console. |
| objectMatchMode | Use this property to control if GameObjects and Components should be matched up when replacing the Prefab Asset of an Prefab instance. |
| prefabOverridesOptions | This property controls which type of overrides are attemped to be kept when replacing the Prefab Asset of an Prefab instance. |