Hello !
I'm using Unity and NGUI since one year and never had a problem with NGUI before thanks to this forum, but i'm stuck for this functionnality: Using an UIButton inside a UIScroll View.
Of course, i have searched on the forum and found advices, like
here and
here .
However, and following your advices, i'm unable to have it working, i'm very sorry.
Here is my configuration:
- UIWidget/Box Collider/UIDrag Scroll View
- UIPanel/UIScroll View/RigidBody
-- UISprite/UIButtons/BoxCollider (Button 1)
-- UISprite/UIButtons/BoxCollider (Button 2)
-- UISprite/UIButtons/BoxCollider (Button 3)
-- UISprite/UIButtons/BoxCollider (Button 4)
etc...
My UIButtons having a depth of 47, and my UIWidget having a depth of 43.
My UIWidget is covering the scrolling area, and the box collider attached to it too.
However, i can't scroll, UIButtons take the event only.
There is no Plain GameObject, and only GameObjects on NGUI Layer.
The Child buttons has been had with NGUITools.AddChild.
Is there something wrong in my configuration ?
Thank you in advance for your help !