private void HandleArrowKeyPresses() { if (Input.GetKeyDown(KeyCode.UpArrow)) { SelectedAction = SelectedAction.Next(); } if (Input.GetKeyDown(KeyCode.DownArrow)) { SelectedAction = SelectedAction.Previous(); } }
private void HandleScrolling() { if (ScrollingUp) { SelectedAction = SelectedAction.Next(); } if (ScrollingDown) { SelectedAction = SelectedAction.Previous();; } }