Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Lotti 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?
-
Check its 'isVisible' flag.
-
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.
-
ok, it needs some little time (WaitForEndOfFrame is not working, actually i'm using WaitForSecond(0.15f), to notice changes in visibility.
Thank you!