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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.