文档

Unity Engine

Unity Engine

UnregisterCustomHandler(string)

Unregisters the current handler and validator for the given key
阅读时间1 分钟最后更新于 1 个月前

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.