Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

IInitializePotentialDragHandler.OnInitializePotentialDrag

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

Parameters

Description

Called by a BaseInputModule when a drag has been found but before it is valid to begin the drag.