Author Topic: [Feature Request] UserInteractionEnabled for UIPanel  (Read 1776 times)

yuewah

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 180
    • View Profile
[Feature Request] UserInteractionEnabled for UIPanel
« on: January 27, 2015, 10:08:55 AM »
Instead of using a BoxCollider to block all UIEvent, is it possible that the UIPanel having an UserInteractionEnabled property to ignore the UIEvent on it.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [Feature Request] UserInteractionEnabled for UIPanel
« Reply #1 on: January 28, 2015, 01:40:52 AM »
Panels don't receive events. Colliders do. I'm not sure what you're asking here... If you want to disable events, just turn off the UICamera that sees the layer you want disabled (or adjust the UICamera's event layer mask).