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.
阅读时间1 分钟最后更新于 1 个月前
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.