# UnregisterRenderPickingCallback(RenderPickingCallback)

> Unregisters the callback that was previously registered for custom picking rendering. The method throws InvalidOperationException if you try to call it inside render picking callbacks.

## Definition

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

```csharp
public static bool UnregisterRenderPickingCallback(HandleUtility.RenderPickingCallback renderPickingCallback)
```

### Parameters

**** (\[RenderPickingCallback]\(/engine/6000.7/script-reference/unityeditor/handleutility/renderpickingcallback)): The delegate object to unregister from the callback.

### Returns

| Type                                                          | Description                                                                   |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the unregistration succeeds. False if the callback is not registered. |

### Remarks

Additional Resources: [RegisterRenderPickingCallback](/engine/6000.7/script-reference/unityeditor/handleutility/registerrenderpickingcallback.md).
