docs.unity.cn
    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
    Namespace: UnityEngine.EventSystems
    Syntax
    public abstract class AbstractEventData

    Fields

    m_Used

    Declaration
    protected bool m_Used
    Field Value
    Type Description
    Boolean

    Properties

    used

    Is the event used?

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

    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023