Beispiel #1
0
        protected override void Reset(IToolMode prevMode)
        {
            HoverSide    = null;
            SelectedSide = null;

            SelectTargets();
        }
Beispiel #2
0
 public override void OnSecondaryMouseClicked()
 {
     if (IsSelectedSide)
     {
         SelectedSide = null;
         SelectTargets();
     }
     else
     {
         Tool.SetDefaultMode();
     }
 }
Beispiel #3
0
 public override void OnPrimaryMouseClicked(Event e)
 {
     if (!IsSelectedSide)
     {
         if (IsHoverSide)
         {
             SelectedSide = HoverSide;
             SelectTargets();
         }
     }
     else if (IsHoverSide)
     {
         SetAlign();
         Tool.SetDefaultMode();
     }
 }