Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: SlaynX on April 29, 2014, 06:37:57 AM
-
I faced a problem where I need Spine2d gameObject to be clip by a panel for a UIScrollView purposes. It may seem that UIPanel Clipping only clip objects NGUI type objects or perhaps I could be wrong here.
ClippingPanel (z = 0)(UIScrollView)
-> MenuBackground(z = -1)
-> SpineObject (z = -2)
Note that I also use RenderQ on my panel 3000 because I want to use the z axis as my layer arrangement for NGUI and Spine2d as Spine Objects also is based on RenderQ 3000.
Any ideas? Thanks.
-
Only NGUI objects can be clipped by panels. It's done via special shaders. If you want non-NGUI stuff to be clipped, you will need to write custom shaders for those objects.