ドキュメント

Unity Engine

Unity Engine

ReplacePrefabOptions

Flags for the PrefabUtility.ReplacePrefab function.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. This has turned into the more explicit APIs, SavePrefabAsset, SaveAsPrefabAsset, SaveAsPrefabAssetAndConnect
[Flags]public enum ReplacePrefabOptions

Fields

Value

Description

ConnectToPrefabConnects the passed objects to the Prefab after uploading the Prefab.
DefaultReplaces Prefabs by matching pre-existing connections to the Prefab.
ReplaceNameBasedReplaces the Prefab using name based lookup in the transform hierarchy.