public void SetRectSelectionTool(ShapeEditorRectSelectionTool sers)
 {
     if (m_RectSelectionTool != null)
     {
         m_RectSelectionTool.RectSelect     -= SelectPointsInRect;
         m_RectSelectionTool.ClearSelection -= ClearSelectedPoints;
     }
     m_RectSelectionTool                 = sers;
     m_RectSelectionTool.RectSelect     += SelectPointsInRect;
     m_RectSelectionTool.ClearSelection += ClearSelectedPoints;
 }
 public void OnDisable()
 {
     m_RectSelectionTool.RectSelect     -= SelectPointsInRect;
     m_RectSelectionTool.ClearSelection -= ClearSelectedPoints;
     m_RectSelectionTool = null;
 }