AdjustPanningDeltaMoveToFollowLimits() public method

public AdjustPanningDeltaMoveToFollowLimits ( Vector3 &deltaMove, Vector3 limitMinPoint, Vector3 limitMaxPoint ) : void
deltaMove UnityEngine.Vector3
limitMinPoint UnityEngine.Vector3
limitMaxPoint UnityEngine.Vector3
return void
 private void UpdatePanningWhileDragging(Vector3 panDelta, ref Vector3 position)
 {
     AABRectForOnScreenArea rect = new AABRectForOnScreenArea();
     rect.AdjustPanningDeltaMoveToFollowLimits(ref panDelta, levelLimitMin.position, levelLimitMax.position);
     panningVelocity.UpdateWhileDragging (panDelta);
     position += panDelta;
 }
 private void Move(Vector3 deltaMove, ref Vector3 position)
 {
     AABRectForOnScreenArea rect = new AABRectForOnScreenArea();
     rect.AdjustPanningDeltaMoveToFollowLimits (ref deltaMove, levelLimitMin, levelLimitMax);
     position += deltaMove;
 }