Welcome,
Guest
. Please
login
or
register
.
April 29, 2026, 12:39:39 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Getting visible items inside a scrollview
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting visible items inside a scrollview (Read 6103 times)
Artheus
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Getting visible items inside a scrollview
«
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?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Getting visible items inside a scrollview
«
Reply #1 on:
October 25, 2014, 02:47:46 PM »
Loop through them, check UIWidget.isVisible.
Logged
bloomk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 38
Re: Getting visible items inside a scrollview
«
Reply #2 on:
November 24, 2015, 04:32:44 PM »
has something changed? Thesis not working. Items are not visible but isVisible = true...
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Getting visible items inside a scrollview
«
Reply #3 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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Getting visible items inside a scrollview