Class BaseEventData | Unity UI | 1.0.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseEventData

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

    Inheritance
    Object
    AbstractEventData
    BaseEventData
    AxisEventData
    PointerEventData
    Inherited Members
    AbstractEventData.m_Used
    AbstractEventData.Reset()
    AbstractEventData.Use()
    AbstractEventData.used
    Namespace: UnityEngine.EventSystems
    Syntax
    public class BaseEventData : AbstractEventData

    Constructors

    BaseEventData(EventSystem)

    Declaration
    public BaseEventData(EventSystem eventSystem)
    Parameters
    Type Name Description
    EventSystem eventSystem

    Properties

    currentInputModule

    A reference to the BaseInputModule that sent this event.

    Declaration
    public BaseInputModule currentInputModule { get; }
    Property Value
    Type Description
    BaseInputModule

    selectedObject

    The object currently considered selected by the EventSystem.

    Declaration
    public GameObject selectedObject { get; set; }
    Property Value
    Type Description
    GameObject
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on October 6, 2020