文档

Unity Engine

Unity Engine

RemoveDropHandler

Unregister a specific Drop Handler from a Window Drop Target.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

RemoveDropHandler(ProjectBrowserDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.
警告
Deprecated. Use RemoveDropHandlerV2 instead
public static void RemoveDropHandler(DragAndDrop.ProjectBrowserDropHandler handler)

Parameters

Handler to unregister.

RemoveDropHandler(SceneDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.
警告
Deprecated. Use RemoveDropHandlerV2 instead
public static void RemoveDropHandler(DragAndDrop.SceneDropHandler handler)

Parameters

Handler to unregister.

RemoveDropHandler(HierarchyDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.
警告
Deprecated. Use RemoveDropHandlerV2 instead
public static void RemoveDropHandler(DragAndDrop.HierarchyDropHandler handler)

Parameters

Handler to unregister.

RemoveDropHandler(InspectorDropHandler)

Unregister a specific Drop Handler from a Window Drop Target.
警告
Deprecated. Use RemoveDropHandlerV2 instead
public static void RemoveDropHandler(DragAndDrop.InspectorDropHandler handler)

Parameters

Handler to unregister.