# prefabInstanceUnpacking

> Unity calls this method automatically before a Prefab instance is unpacked.

## Definition

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

```csharp
public static event Action<GameObject, PrefabUnpackMode> prefabInstanceUnpacking
```
