Welcome,
Guest
. Please
login
or
register
.
April 28, 2026, 12:44:34 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Gameobject outside clipping scroll view
« previous
next »
Print
Pages: [
1
]
Author
Topic: Gameobject outside clipping scroll view (Read 6698 times)
Lotti
Newbie
Thank You
-Given: 5
-Receive: 0
Posts: 47
Gameobject outside clipping scroll view
«
on:
July 25, 2014, 11:53:19 AM »
There is a way to know if a gameobject is fully outside the area of a scroll view with soft clipping alpha?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Gameobject outside clipping scroll view
«
Reply #1 on:
July 26, 2014, 03:18:05 AM »
Check its 'isVisible' flag.
Logged
Lotti
Newbie
Thank You
-Given: 5
-Receive: 0
Posts: 47
Re: Gameobject outside clipping scroll view
«
Reply #2 on:
July 28, 2014, 04:18:15 AM »
every gameobject is always visible :\
i have a scroll view with a grid inside. scroll view is setted to "soft clip" and grid has "hide inactive" flag checked.
The direct children of grid are clones of a prefab with his own hierarchy (containing sprites and textures). isVisible is always true on prefab root's/children's widget.
Logged
Lotti
Newbie
Thank You
-Given: 5
-Receive: 0
Posts: 47
Re: Gameobject outside clipping scroll view
«
Reply #3 on:
July 28, 2014, 04:52:03 AM »
ok, it needs some little time (WaitForEndOfFrame is not working, actually i'm using WaitForSecond(0.15f), to notice changes in visibility.
Thank you!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Gameobject outside clipping scroll view