Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool UnregisterRenderPickingCallback(HandleUtility.RenderPickingCallback renderPickingCallback)

Parameters

renderPickingCallback

The delegate object to unregister from the callback.

Returns

Type

Description

boolTrue if the unregistration succeeds. False if the callback is not registered.

Remarks

Additional Resources: RegisterRenderPickingCallback.