# PrefabUnpackMode

> Enum used to determine how a Prefab should be unpacked.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum PrefabUnpackMode
```

## Remarks

Additional Resources: [PrefabUtility.UnpackPrefabInstance](/engine/6000.5/script-reference/unityeditor/prefabutility/unpackprefabinstance.md).

## Fields

| Value                                                                                          | Description                                                           |
| ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [Completely](/engine/6000.5/script-reference/unityeditor/prefabunpackmode/completely.md)       | Use this to strip away all Prefab information from a Prefab instance. |
| [OutermostRoot](/engine/6000.5/script-reference/unityeditor/prefabunpackmode/outermostroot.md) | Use this mode to only unpack the outermost layer of a Prefab.         |
