private void OnLeftMouseButtonClicked(Vector2 screenPosition) { var clickedOn = GetClickedUnit(screenPosition); if (clickedOn != null) { SelectOnUnit?.Invoke(clickedOn); } }
public void TriggerSelectOnUnit(Unit unit) { SelectOnUnit?.Invoke(unit); }