Version: 2022.3
言語: 日本語

PrefabReplacingSettings

class in UnityEditor

マニュアルに切り替える

説明

Settings controlling the behavior of PrefabUtility.ReplacePrefabAssetOfPrefabInstance.

変数

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.