private bool IsDragging(out Vector3 panDelta)
{
ITouchInfo touchInfo = inputDevice.PrimaryTouch;
if (touchInfo.IsDragging && !inputDevice.IsDoubleTouching)
{
panDelta = -CameraManager.ConvertScreenDeltaIntoFloorDelta(touchInfo.PreviousTouchPosition, touchInfo.TouchPosition);
return true;
}
else
{
panDelta = Vector3.zero;
return false;
}
}