Modifier

Partager via


MixedRealityInputSystem.HandleEvent<T> Method

Definition

The main function for handling and forwarding all events to their intended recipients.

public:
generic <typename T>
 where T : UnityEngine::EventSystems::IEventSystemHandler override void HandleEvent(UnityEngine::EventSystems::BaseEventData ^ eventData, UnityEngine::EventSystems::ExecuteEvents::EventFunction<T> ^ eventHandler);
public override void HandleEvent<T> (UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents.EventFunction<T> eventHandler) where T : UnityEngine.EventSystems.IEventSystemHandler;
override this.HandleEvent : UnityEngine.EventSystems.BaseEventData * UnityEngine.EventSystems.ExecuteEvents.EventFunction<'T (requires 'T :> UnityEngine.EventSystems.IEventSystemHandler)> -> unit (requires 'T :> UnityEngine.EventSystems.IEventSystemHandler)
Public Overrides Sub HandleEvent(Of T As IEventSystemHandler) (eventData As BaseEventData, eventHandler As ExecuteEvents.EventFunction(Of T))

Type Parameters

T

Event Handler Interface Type

Parameters

eventData
UnityEngine.EventSystems.BaseEventData

Event Data

eventHandler
ExecuteEvents.EventFunction<T>

Event Handler delegate

Implements

Applies to