gameObjectsNotMatchedBecomesOverride
If a GameObject is not matched up then it can become an added GameObject on the new Prefab instance. This property is only used when used together with ObjectMatchMode.ByHierarchy.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public bool gameObjectsNotMatchedBecomesOverride { get; set; }
Remarks
If this property is false then the GameObject will be deleted if it doesn't match a GameObject on the PrefabAsset. Additional Resources: ConvertToPrefabInstanceSettings.componentsNotMatchedBecomesOverride, ConvertToPrefabInstanceSettings.recordPropertyOverridesOfMatches.