How can I get ScrollRect to scroll per-item in a list of scrollable items?

Hi!

I’m working on a menu system that will use a game controller. It shows a list of game saves that you can scroll through vertically. I got the selection of the item to work great, but unfortunately when you select an item that’s currently further down the scrollrect, it won’t scroll.

I attempted to use verticalNormalizedPosition, but unfortunately it doesn’t necessarily match the position of the selected item since it doesn’t take into account what’s already visible.

I can do some math to figure out how far the scroll is relative to visibility, but I feel like I may be overcomplicating this.

Has anyone else figured out a good approach to this issue?

I’m currently looking into this right now, but one simple solution is to adjust the value property of the scroll bar directly when you receive input from a stick. E.g. use the right stick (up or down) to adjust the value property up or down by a certain amount.