ReplacePrefabOptions
Flags for the PrefabUtility.ReplacePrefab function.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor
[Flags]public enum ReplacePrefabOptions
Fields
Value | Description |
|---|---|
| ConnectToPrefab | Connects the passed objects to the Prefab after uploading the Prefab. |
| Default | Replaces Prefabs by matching pre-existing connections to the Prefab. |
| ReplaceNameBased | Replaces the Prefab using name based lookup in the transform hierarchy. |