void Update()
 {
     if (dirtyRectangle)
     {
         if (held)
         {
             Lines.DrawAABB(rect, pressStarted, lastPosition, Color.clear, false);
             Lines.DrawAABB(rect, pressStarted, currentPress, color);
             dirtyRectangle = false;
         }
         else
         {
             Clear();
         }
         lastPosition = currentPress;
     }
 }
 internal void DrawRect(Rect r, Color color)
 {
     Lines.DrawAABB(rect, r.min, r.max, color);
 }