ドキュメント

Unity Engine

Unity Engine

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 分最終更新 2ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.