everyone! I'm making a scrollable list and want to simple add more elements to it when it is reaching its bottom. Basically an infinite list with content being added to it "on demand". I've tried to get the scrollrect's verticalNormalizedPosition and when it reaches a certain value close to zero, I would call a method to add more items to the list, but it didn't work. How can I do this? (Also, I couldn't find here a similar post). Thanks for the attention in advance.
Asked
Active
Viewed 3,003 times
2 Answers
7
Scroll rect has a normalized position:
https://docs.unity3d.com/ScriptReference/UI.ScrollRect-normalizedPosition.html
So as you get closer to 1, you are reaching the end of it.

Everts
- 10,408
- 2
- 34
- 45
-
Thanks, Everts. I'm almost there but this already gives me something to begin with! – mvpires Jan 25 '17 at 14:33
0
Scroll rect has a normalized position: https://answers.unity.com/questions/1556725/scroll-rect-things.html So as you get closer to 1, you are reaching the end of the scroller

Aimbot Studios
- 11
- 5