MixedRealityInputSystem.HandleEvent<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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