Author Topic: Button Collider not responding, Z Value ?  (Read 2592 times)

Quarkism

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 48
    • View Profile
Button Collider not responding, Z Value ?
« on: May 23, 2013, 03:56:02 PM »
I have a button with a box collider that is not responding to mouse clicking or hovering. After playing around with it I realized that I could get the button to respond in one of two ways :
  • Set the collider's Z value to 100
  • Set the transforms Z value to -100
So while I have it working, this solution is very smelly, and I feel I am missing something critical. I have already stripped my scene of all other objects to ensure that the collider is not being blocked by another object. Moreover the X and Y bounds of the collider are working as expected (so far as I invoke one of the two hacks above).

Has anyone else come across this issue ? Any steps to trouble shoot this issue would be much appreciated.

Quarkism

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 48
    • View Profile
Re: Button Collider not responding, Z Value ?
« Reply #1 on: May 23, 2013, 05:41:37 PM »
Fixed it, my parent panel container magically gained a box collider. I think my cat did it.