|
Post by skjalg on Nov 11, 2020 13:02:02 GMT
Hi
I noticed that you don't have any examples where you are using the Unity Selectable/Navigation to move selection in a list. The current example with just storing the IsSelected bool in the data is very rudimentary. Could you perhaps have a look at making a better example?
I would expect that you had a an element that is outside the list which can be selected (using Unity Navigation). Then when you move down (or left) in the Navigation) you move to the first element in the list (which is automatically scrolled to). And then you can move down to each element. I guess you need to create a List of Navigation classes or have each Data class have a Navigation object and the component in the list implement Selectable (i.e Button) .
|
|
|
Post by echo17 on Nov 12, 2020 14:40:47 GMT
I'm having trouble visualizing what you are describing. It sounds to me like you are talking about what I did in Demo #14 with the key control. As you use the arrow keys (or you can convert to a d-pad), the items are selected and the scroller is scrolled.
If you are imagining something different than this, I'd need to see a short video example if you can provide one. It can be from any youtube video or even something recorded off of your computer that shows what you are describing.
|
|