EventSystemExtensions Class
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.
Extension methods for Unity's EventSystem
public ref class EventSystemExtensions abstract sealed
public static class EventSystemExtensions
type EventSystemExtensions = class
Public Module EventSystemExtensions
- Inheritance
-
EventSystemExtensions
Methods
ExecuteHierarchyUpward<T>(GameObject, BaseEventData, ExecuteEvents.EventFunction<T>) |
Bubbles up an event to the parents of the root game object if the event data is not already used. |
Raycast(EventSystem, PointerEventData, LayerMask[], RaycastResultComparer) |
Executes a raycast all and returns the closest element. Fixes the current issue with Unity's raycast sorting which does not consider separate canvases. |