if (currentTouch.clickNotification != ClickNotification.None)
{
// If the user is pressing down and has dragged the touch away from the original object,
// unpress the original object and notify the new object that it is now being pressed on.
if (!stickyPress && !unpressed && currentTouch.pressStarted && currentTouch.pressed != hoveredObject)
{
isDragging = true;
Notify(currentTouch.pressed, "OnPress", false);
currentTouch.pressed = hoveredObject;
Notify(currentTouch.pressed, "OnPress", true);
isDragging = false;
}
}