docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AbstractEventData

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

    Inheritance
    object
    AbstractEventData
    BaseEventData
    Inherited Members
    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 abstract class AbstractEventData

    Fields

    m_Used

    Declaration
    protected bool m_Used
    Field Value
    Type Description
    bool

    Properties

    used

    Is the event used?

    Declaration
    public virtual bool used { get; }
    Property Value
    Type Description
    bool

    Methods

    Reset()

    Reset the event.

    Declaration
    public virtual void Reset()

    Use()

    Use the event.

    Declaration
    public virtual void Use()
    Remarks

    Internally sets a flag that can be checked via used to see if further processing should happen.

    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)