MBS
MBS

Reputation: 707

Unity: Scroll and select hidden game objects

I have scroll view content containing gameobjects (10 for example), 6 are shown in the current view of the scroll and 4 are hidden under buttons and can be shown when I move the scrollbar.

When using the keyboard to navigate, it selects the 6 shown gameobjects correctly, and when i try to go to the next gameobject as expected, the hover goes for the buttons above the hidden gameobjects. I can move to these gameobjects by selecting the scrollbar and move it so that the hidden gameobjects appears, then I can select the other gameobjects.

Can anyone have a way to scroll and select the hidden gameobjects and then go to buttons after the gameobjects ends?

Upvotes: 1

Views: 650

Answers (1)

Use Explicit Navigation

Inspector

These values can be modified with scripts as well, via the Selectable.navigation object.

Upvotes: 1

Related Questions