Is it possible call methods OnDrag or OnBeginDrag without calling method OnPointerDown? How to disable action in OnPointerDown method if swiping?
Use a boolean:
bool drag;
void OnPointerDown()
{
if(!drag)
{
//do something
}
}
void OnDrag()
{
drag = true;
//do something
}