# ReconnectToLastPrefab(GameObject)

> The concept of disconnecting Prefab instances has been deprecated. This method does nothing. Use PrefabUtility.RevertPrefabInstance.

## Definition

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

> **Warning:**
>
> **Deprecated.** This method does nothing. Use PrefabUtility.RevertPrefabInstance.

```csharp
public static bool ReconnectToLastPrefab(GameObject go)
```

### Parameters

**** (\[GameObject]\(/engine/6000.6/script-reference/unityengine/gameobject)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
