1
NGUI 3 Support / Infinity Scroll
« on: March 18, 2014, 02:37:54 PM »
Hi,
Not a question, I just needed an infinite scroller and couldn't find it so built it myself. I figured I'd share my work.
Please note:
- I tested this with NGUI 3.5.4 r2 only
- All my scroll-items are the same (it's for the credits of my game, which I want to repeat itself infinitely, but also be scrollable). If you want to create an infinite leaderboard or something like that, you'll have to make adjustments.
- I made this in just over an hour, it's not clean code, it works for me though.
- It auto-fills your scrollview, but should work fine without doing that.
- You simply add this InfinityScroll script next to your scroll view component.
Check out the video here:
http://youtu.be/SYeZTMIY7HI
Hope someone can use it or make something more dynamic out of this
Not a question, I just needed an infinite scroller and couldn't find it so built it myself. I figured I'd share my work.
Please note:
- I tested this with NGUI 3.5.4 r2 only
- All my scroll-items are the same (it's for the credits of my game, which I want to repeat itself infinitely, but also be scrollable). If you want to create an infinite leaderboard or something like that, you'll have to make adjustments.
- I made this in just over an hour, it's not clean code, it works for me though.
- It auto-fills your scrollview, but should work fine without doing that.
- You simply add this InfinityScroll script next to your scroll view component.
Check out the video here:
http://youtu.be/SYeZTMIY7HI
Hope someone can use it or make something more dynamic out of this
