1

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?

7
  • 2
    Use explicit navigation, rather than Auto. Commented Dec 21, 2017 at 17:47
  • So you mean to assign each button the next buttons (on left, right, up and down clicks)? Commented Dec 21, 2017 at 20:36
  • If this is the case you mean it can't help me because the buttons are static while the game objects are files that is dynamically instantiated (I preview files from folder on my pc) Commented Dec 21, 2017 at 20:37
  • I mean this which is totally possible to specify via code with instantiated game objects. Commented Dec 21, 2017 at 20:42
  • That's may work but do we have another easier way to do this? Commented Dec 21, 2017 at 20:50

1 Answer 1

1

Use Explicit Navigation

Inspector

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.