Author Topic: issue with overlapping colliders  (Read 3212 times)

amcneilly

  • Guest
issue with overlapping colliders
« 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.



Can someone please help. How can i get the buttons to work and have a draggable panel ????

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: issue with overlapping colliders
« Reply #1 on: September 04, 2013, 06:16:22 PM »
Put UIDragPanelContents on each of your button and assign your dragPanel to them.