示例#1
0
 public void StartDraggingUnplaced(Mechanism mechanism)
 {
     draggingMechanism = mechanism;
     if (draggingMechanism != null)
     {
         draggingMechanism.StartDrag();
     }
 }
示例#2
0
 void StartDragging()
 {
     if (OverCell)
     {
         draggingMechanism = OverHexCell == null ? null : OverHexCell.placedMechanism;
         if (draggingMechanism != null)
         {
             draggingMechanism.StartDrag();
         }
     }
 }