文档

Unity Engine

Unity Engine

HasHandler(int, Delegate)

Check if the handler is already registered for the destination window ID.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool HasHandler(int dropDstId, Delegate handler)

Parameters

dropDstId

ID of the destination window.

handler

The handler of the targeted window.

Returns

Type

Description

boolTrue if the handler is already registered.