protected override void Reset(IToolMode prevMode) { HoverSide = null; SelectedSide = null; SelectTargets(); }
public override void OnSecondaryMouseClicked() { if (IsSelectedSide) { SelectedSide = null; SelectTargets(); } else { Tool.SetDefaultMode(); } }
public override void OnPrimaryMouseClicked(Event e) { if (!IsSelectedSide) { if (IsHoverSide) { SelectedSide = HoverSide; SelectTargets(); } } else if (IsHoverSide) { SetAlign(); Tool.SetDefaultMode(); } }