ドキュメント

Unity Engine

Unity Engine

ReplaceNameBased

Replaces the Prefab using name based lookup in the transform hierarchy.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. This has turned into the more explicit APIs, SavePrefabAsset, SaveAsPrefabAsset, SaveAsPrefabAssetAndConnect
ReplaceNameBased = 2

Remarks

This is internally used by the model importer and is useful for relating game object hierarchy built from scratch to an existing Prefab without breaking connections.