# RemoveDropHandler

> Unregister a specific Drop Handler from a Window Drop Target.

## Definition

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

## RemoveDropHandler(ProjectBrowserDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.

> **Warning:**
>
> **Removed.** Use RemoveDropHandlerV2 instead

```csharp
public static void RemoveDropHandler(DragAndDrop.ProjectBrowserDropHandler handler)
```

### Parameters

**** (\[ProjectBrowserDropHandler]\(/engine/6000.5/script-reference/unityeditor/draganddrop/projectbrowserdrophandler)): Handler to unregister.

## RemoveDropHandler(SceneDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.

> **Warning:**
>
> **Removed.** Use RemoveDropHandlerV2 instead
>
> **Upgrade to** [DragAndDrop.RemoveDropHandlerV2](/engine/6000.5/script-reference/unityeditor/draganddrop/removedrophandlerv2.md)

```csharp
public static void RemoveDropHandler(DragAndDrop.SceneDropHandler handler)
```

### Parameters

**** (\[SceneDropHandler]\(/engine/6000.5/script-reference/unityeditor/draganddrop/scenedrophandler)): Handler to unregister.

## RemoveDropHandler(HierarchyDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.

> **Warning:**
>
> **Removed.** Use RemoveDropHandlerV2 instead

```csharp
public static void RemoveDropHandler(DragAndDrop.HierarchyDropHandler handler)
```

### Parameters

**** (\[HierarchyDropHandler]\(/engine/6000.5/script-reference/unityeditor/draganddrop/hierarchydrophandler)): Handler to unregister.

## RemoveDropHandler(InspectorDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.

> **Warning:**
>
> **Removed.** Use RemoveDropHandlerV2 instead
>
> **Upgrade to** [DragAndDrop.RemoveDropHandlerV2](/engine/6000.5/script-reference/unityeditor/draganddrop/removedrophandlerv2.md)

```csharp
public static void RemoveDropHandler(DragAndDrop.InspectorDropHandler handler)
```

### Parameters

**** (\[InspectorDropHandler]\(/engine/6000.5/script-reference/unityeditor/draganddrop/inspectordrophandler)): Handler to unregister.
