Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Artheus on October 24, 2014, 04:27:25 PM

Title: Getting visible items inside a scrollview
Post by: Artheus on October 24, 2014, 04:27:25 PM
What is the easiest way to get all the items that is visible inside a scrollview window?
Title: Re: Getting visible items inside a scrollview
Post by: ArenMook on October 25, 2014, 02:47:46 PM
Loop through them, check UIWidget.isVisible.
Title: Re: Getting visible items inside a scrollview
Post by: bloomk on November 24, 2015, 04:32:44 PM
has something changed? Thesis not working. Items are not visible but isVisible = true...
Title: Re: Getting visible items inside a scrollview
Post by: ArenMook on November 25, 2015, 05:50:59 PM
Scroll view's panel has the "Cull" option. Ensure it's checked. Other than that, no nothing changed. UIWidget's isVisible will be 'false' if it's not visible.