Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

BaseEventData

class in UnityEngine.EventSystems

/

Inherits from:EventSystems.AbstractEventData

Description

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

Variables

currentInputModuleA reference to the BaseInputModule that sent this event.
selectedObjectThe object currently considered selected by the EventSystem.

Constructors

BaseEventDataConstruct a BaseEventData tied to the passed EventSystem.

Inherited members

Variables

usedIs the event used?

Public Functions

ResetReset the event.
UseUse the event.