CameraTools.PanneableCameraBehaviour.IsDragging C# (CSharp) Method

IsDragging() private method

private IsDragging ( Vector3 &panDelta ) : bool
panDelta UnityEngine.Vector3
return bool
        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;
            }
        }