기술 자료

Unity Engine

Unity Engine

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분최근 업데이트: 한 달 전

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.