private void UpdateHover(ISelectable selectable) { if (_hoveringVisualizer != null) { _hoveringVisualizer.EndHover(); _hoveringVisualizer.End(); _hoveringVisualizer = null; } _currentHover = selectable; if (selectable != null) { _hoveringVisualizer = _currentHover.GetSelectionVisualizer(); _hoveringVisualizer.Visualized = selectable; _hoveringVisualizer.BeginHover(); _hoveringVisualizer.Begin(); } }
private void End(ISelectionHandler handler, ISelectionVisualizer visualizer) { handler.End(); visualizer.End(); }