Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: khoatic on June 05, 2015, 09:43:50 PM

Title: Is it possible to put a scrollview inside another one?
Post by: khoatic on June 05, 2015, 09:43:50 PM
So I'm looking to have a list of categories and each category has several items in it.  For instance say Id have some category scrollview that contains saw 5 different categories.  Each category Scrollview is side by side so when I drag left or right the the next category appears.  Also when I have a category in view I can drag up and down to see more of that particular category.  Any advice or insight is appreciated.
Title: Re: Is it possible to put a scrollview inside another one?
Post by: ArenMook on June 07, 2015, 12:48:15 PM
You can answer your own question just by trying it.

Yes, it's possible. If you want multiple scroll views, for example one draggable vertically and another horizontally, then you will ideally want to have two UIDragScrollView scripts per object -- one referencing one scroll view, another -- the other one.