Modifica

Condividi tramite


BaseEventSystem.UnregisterHandler<T>(IEventSystemHandler) Method

Definition

Unregisters the given handler as a global listener for all events handled via the T interface. T must be an interface type, not a class type, derived from IEventSystemHandler.

public:
generic <typename T>
 where T : UnityEngine::EventSystems::IEventSystemHandler virtual void UnregisterHandler(UnityEngine::EventSystems::IEventSystemHandler ^ handler);
public virtual void UnregisterHandler<T> (UnityEngine.EventSystems.IEventSystemHandler handler) where T : UnityEngine.EventSystems.IEventSystemHandler;
abstract member UnregisterHandler : UnityEngine.EventSystems.IEventSystemHandler -> unit (requires 'T :> UnityEngine.EventSystems.IEventSystemHandler)
override this.UnregisterHandler : UnityEngine.EventSystems.IEventSystemHandler -> unit (requires 'T :> UnityEngine.EventSystems.IEventSystemHandler)
Public Overridable Sub UnregisterHandler(Of T As IEventSystemHandler) (handler As IEventSystemHandler)

Type Parameters

T

Parameters

handler
UnityEngine.EventSystems.IEventSystemHandler

Handler to stop receiving global input events of specified handler type.

Implements

Applies to