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

Script language

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

IBeginDragHandler

interface in UnityEngine.EventSystems


Implements interfaces:IEventSystemHandler

Description

Interface to implement if you wish to receive OnBeginDrag callbacks.

Note: You need to implement IDragHandler in addition to IBeginDragHandler.

See Also: IDragHandler.

Public Functions

OnBeginDragCalled by a BaseInputModule before a drag is started.

Did you find this page useful? Please give it a rating: