Beispiel #1
0
 protected void OnMouseDown(MouseDownEvent e)
 {
     if (base.CanStartManipulation(e))
     {
         this.m_Start      = (this.m_Last = e.localMousePosition);
         this.m_ZoomCenter = VisualElementExtensions.ChangeCoordinatesTo(base.target, this.m_GraphUI, this.m_Start);
         this.m_Active     = true;
         MouseCaptureController.TakeMouseCapture(base.target);
         e.StopPropagation();
     }
     Debug.Log(e);
 }