docs.unity3d.com
Search Results for

    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
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.EventSystems
    Assembly: UnityEngine.UI.dll
    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
    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)