public void ShowSortMenu() { if (State != UIState.Menu) { return; } SetState(UIState.BlockInput); _menuPanel.HideButtons(); _sortPanel.Show(() => SetState(UIState.SortMenu)); }