Version: 2023.2

HandleUtility.UnregisterRenderPickingCallback

切换到手册
public static bool UnregisterRenderPickingCallback (HandleUtility.RenderPickingCallback renderPickingCallback);

参数

renderPickingCallback The delegate object to unregister from the callback.

返回

bool True if the unregistration succeeds. False if the callback is not registered.

描述

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.

Additional resources: RegisterRenderPickingCallback.