Author Topic: using widget to block click throughs  (Read 2902 times)

zenmaster

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 20
    • View Profile
using widget to block click throughs
« 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: using widget to block click throughs
« Reply #1 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.