Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnregisterCustomHandler(string)

Unregisters the current handler and validator for the given key
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void UnregisterCustomHandler(string key)

Parameters

A unique string that identifies the selection handler.

Remarks

If all history for a given handler is now invalid, the entire handler can be unregistered. This removes the handler and any History elements registered with this Handler key. Any related validator is also unregistered. Additional Resources: Selection.RegisterCustomHandler, Selection.SetCustomSelection.