Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: mimmog on January 13, 2015, 12:16:12 PM

Title: Infinite scrollView
Post by: mimmog on January 13, 2015, 12:16:12 PM
I want to create a scrollview that contain a text that scroll to the top automatically. But I also want that I can scroll it with a finger but when I not touch it must scroll up automatically and when it finishes it should start again. It' possible ? How can I do this ?
Title: Re: Infinite scrollView
Post by: ArenMook on January 13, 2015, 05:10:29 PM
SpringPanel.Begin can be used to move your scroll view to a specific position. You can also set UIScrollView's SetDragAmount to the value of your choice.
Title: Re: Infinite scrollView
Post by: mimmog on January 13, 2015, 06:04:42 PM
I must use SpringPanel.Begin for auto scrolling and UIScrollView with SetDragAmount for touch scroll? And for looping how can I use ?
Title: Re: Infinite scrollView
Post by: ArenMook on January 14, 2015, 08:41:44 PM
SpringPanel.Begin moves the scroll view smoothly to the target position. SetDragAmount moves it immediately. Either way there is no looping involved.