Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

InputField.OnEndDrag

Switch to Manual
public function OnEndDrag(eventData: EventSystems.PointerEventData): void;

Parameters

eventData The eventData sent by the EventSystem.

Description

Capture the OnEndDrag callback from the EventSystem and cancel the listening of drag events.