recordPropertyOverridesOfMatches
When a Component or GameObject is matched with objects in the Prefab Asset then existing values can be recorded as overrides on the new Prefab instance if this property is set to true.
Read time 1 minuteLast updated 19 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public bool recordPropertyOverridesOfMatches { get; set; }
Remarks
If the values from the Prefab Asset is wanted instead then set this property to false. Additional Resources: ConvertToPrefabInstanceSettings.componentsNotMatchedBecomesOverride, ConvertToPrefabInstanceSettings.gameObjectsNotMatchedBecomesOverride.