This version of Unity is unsupported.

PrefabReplacingSettings

class in UnityEditor

Description

Settings controlling the behavior of PrefabUtility.ReplacePrefabAssetOfPrefabInstance.

Properties

changeRootNameToAssetNameChange the name of the root GameObject to match the name of the Prefab Asset used when replacing the Prefab Asset of a Prefab instance.
logInfoSetting this to true will log details about the replacement to the Console.
objectMatchModeUse this property to control if GameObjects and Components should be matched up when replacing the Prefab Asset of an Prefab instance.
prefabOverridesOptionsThis property controls which type of overrides are attemped to be kept when replacing the Prefab Asset of an Prefab instance.