Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasHandler(int, Delegate)

Check if the handler is already registered for the destination window ID.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.