IMixedRealityEventSystem.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 void HandleEvent(UnityEngine::EventSystems::BaseEventData ^ eventData, UnityEngine::EventSystems::ExecuteEvents::EventFunction<T> ^ eventHandler);
public void HandleEvent<T> (UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents.EventFunction<T> eventHandler) where T : UnityEngine.EventSystems.IEventSystemHandler;
abstract member HandleEvent : UnityEngine.EventSystems.BaseEventData * UnityEngine.EventSystems.ExecuteEvents.EventFunction<'T (requires 'T :> UnityEngine.EventSystems.IEventSystemHandler)> -> unit (requires 'T :> UnityEngine.EventSystems.IEventSystemHandler)
Public 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
Remarks
See: https://docs.unity3d.com/Manual/MessagingSystem.html