public override void OnEnter() { Context.selectedUnit.SetHighlightEnabled(true); Context.selectedUnit.SetHighlightColor(_highlightingColorSettings.SelectedColor); _tileSelector.AddKeyListener(KeyCode.Mouse1, GoToTile); _tileSelector.AddHoverListener(UpdateHover); }
public override void OnEnter() { _unitSelector.AddHoverListener(UpdateHover); _tileSelector.AddHoverListener(UpdateHover); _unitSelector.AddKeyListener(KeyCode.Mouse0, SelectUnit); }