Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: amcneilly on September 04, 2013, 09:47:46 AM

Title: issue with overlapping colliders
Post by: amcneilly on September 04, 2013, 09:47:46 AM
I am experiencing an issue with overlapping colliders in NGUI.

The details of the problem are....

I have a NGU panel of options on the right hand side of the screen and the panel contains a list of NGUI buttons. When the user clicks the button for an option the game does some action. This worked for my game but i ran into issue when the number of options in the panel exceeded the height of the panel. So i added a NGUI draggable panel to my options panel. This works as i can scroll up and down to view the options but i can no longer click the NGUI buttons because i assume the collider i use for the draggable panel is overlapping the collider for the buttons.

(http://s10.postimg.org/xjzolk8mx/Screen_Shot_2013_09_05_at_12_45_18_AM.png)

Can someone please help. How can i get the buttons to work and have a draggable panel ????
Title: Re: issue with overlapping colliders
Post by: Nicki on September 04, 2013, 06:16:22 PM
Put UIDragPanelContents on each of your button and assign your dragPanel to them.