Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: zenmaster on September 12, 2014, 10:28:13 AM

Title: using widget to block click throughs
Post by: zenmaster on September 12, 2014, 10:28:13 AM
Hi All,

Have problem with a lower depth panel with click blocking widget is blocking clicks on a higher depth panel.

GUI1 - UIPanel depth 10

GUI2 - UIPanel - depth 5
   Container - UIWidget
      ClickBlockWidget - UI Widget/Box Collider

Disable the ClickBlockWidget. Can click on buttons on GUI1

Thanks
Title: Re: using widget to block click throughs
Post by: ArenMook on September 13, 2014, 03:32:31 AM
Make sure UICamera is set to UI type event (3D UI).

If you chose "world" type, then it's based on Z position, not depth.