docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.EventSystems

    Classes

    AbstractEventData

    A class that can be used for sending simple events via the event system.

    AxisEventData

    Event Data associated with Axis Events (Controller / Keyboard).

    BaseEventData

    A class that contains the base event data that is common to all event types in the new EventSystem.

    BaseInput

    Interface to the Input system used by the BaseInputModule. With this it is possible to bypass the Input system with your own but still use the same InputModule. For example this can be used to feed fake input into the UI or interface with a different input system.

    BaseInputModule

    A base module that raises events and sends them to GameObjects.

    BaseRaycaster

    Base class for any RayCaster.

    EventSystem

    Handles input, raycasting, and sending events.

    EventTrigger

    Receives events from the EventSystem and calls registered functions for each event.

    EventTrigger.Entry

    An Entry in the EventSystem delegates list.

    EventTrigger.TriggerEvent

    UnityEvent class for Triggers.

    ExecuteEvents

    Sends EventSystem events to the handlers implemented by a GameObject and its ancestors.

    Physics2DRaycaster

    Simple event system using physics raycasts.

    PhysicsRaycaster

    Simple event system using physics raycasts.

    PointerEventData

    Each touch event creates one of these containing all the relevant information.

    PointerInputModule

    A BaseInputModule for pointer input.

    PointerInputModule.ButtonState

    Tracks the event data of a single mouse button.

    PointerInputModule.MouseButtonEventData

    Information about a mouse button event.

    PointerInputModule.MouseState

    Tracks the state of every mouse button that the input module processes.

    RaycasterManager

    Keeps track of the BaseRaycasters that the EventSystem raycasts with.

    StandaloneInputModule

    A BaseInputModule designed for mouse / keyboard / controller input.

    UIBehaviour

    Base behaviour that has protected implementations of Unity lifecycle functions.

    Structs

    RaycastResult

    A hit result from a BaseRaycaster.

    Interfaces

    IBeginDragHandler

    Interface to implement if you wish to receive OnBeginDrag callbacks. Note: You need to implement IDragHandler in addition to IBeginDragHandler.

    ICancelHandler

    Interface to implement if you wish to receive OnCancel callbacks.

    IDeselectHandler

    Interface to implement if you wish to receive OnDeselect callbacks.

    IDragHandler

    Interface to implement if you wish to receive OnDrag callbacks.

    IDropHandler

    Interface to implement if you wish to receive OnDrop callbacks.

    IEndDragHandler

    Interface to implement if you wish to receive OnEndDrag callbacks. Note: You need to implement IDragHandler in addition to IEndDragHandler.

    IEventSystemHandler

    Base class that all EventSystem events inherit from.

    IInitializePotentialDragHandler

    Interface to implement if you wish to receive OnInitializePotentialDrag callbacks.

    IMoveHandler

    Interface to implement if you wish to receive OnMove callbacks.

    IPointerClickHandler

    Interface to implement if you wish to receive OnPointerClick callbacks.

    IPointerDownHandler

    Interface to implement if you wish to receive OnPointerDown callbacks.

    IPointerEnterHandler

    Interface to implement if you wish to receive OnPointerEnter callbacks.

    IPointerExitHandler

    Interface to implement if you wish to receive OnPointerExit callbacks.

    IPointerMoveHandler

    Interface to implement if you wish to receive OnPointerMove callbacks.

    IPointerUpHandler

    Interface to implement if you wish to receive OnPointerUp callbacks. Note: In order to receive OnPointerUp callbacks, you must also implement the EventSystems.IPointerDownHandler|IPointerDownHandler interface

    IScrollHandler

    Interface to implement if you wish to receive OnScroll callbacks.

    ISelectHandler

    Interface to implement if you wish to receive OnSelect callbacks.

    ISubmitHandler

    Interface to implement if you wish to receive OnSubmit callbacks.

    IUpdateSelectedHandler

    Interface to implement if you wish to receive OnUpdateSelected callbacks.

    Enums

    EventHandle

    Enum that tracks event State.

    EventTriggerType

    This class is capable of triggering one or more remote functions from a specified event. Usage: Attach it to an object with a collider, or to a GUI Graphic of your choice. NOTE: Doing this will make this object intercept ALL events, and no event bubbling will occur from this object!

    MoveDirection

    This is an 4 direction movement enum.

    NavigationDeviceType

    The type of device that generated a navigation event.

    PointerEventData.FramePressState

    The state of a press for the given frame.

    PointerEventData.InputButton

    Input press tracking.

    Delegates

    ExecuteEvents.EventFunction<T1>

    Invokes a specific EventSystem event on a handler.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)