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

    BaseRaycaster

    Base class for any RayCaster.

    EventSystem

    EventTrigger

    EventTrigger.Entry

    EventTrigger.TriggerEvent

    ExecuteEvents

    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

    PointerInputModule.MouseButtonEventData

    Information about a mouse button event.

    PointerInputModule.MouseState

    RaycasterManager

    StandaloneInputModule

    TouchInputModule

    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

    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.

    PointerEventData.FramePressState

    The state of a press for the given frame.

    PointerEventData.InputButton

    Input press tracking.

    StandaloneInputModule.InputMode

    Delegates

    ExecuteEvents.EventFunction<T1>

    In This Article
    Back to top
    Copyright © 2024 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)