Author Topic: Buttons Stopped Receiving clicks  (Read 1814 times)

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Buttons Stopped Receiving clicks
« on: October 22, 2012, 04:07:52 PM »
Hello,

I've been working on a project for some time and using NGUI successfully.  Today I added some options to one of my GUIs, and all buttons in that GUI stopped receiving Click or Touch commands.  I checked depth of colliders, as well as events being sent, and also reverted the changes I made today before the problem began, but they just don't receive anything now!

Are there any common troubleshooting steps you can recommend for me?  I am pulling my hair out here.  One of those "it worked fine a minute ago..." scenarios.  :(

Thanks in advance for any suggestions.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Buttons Stopped Receiving clicks
« Reply #1 on: October 22, 2012, 05:17:37 PM »
Have you checked your UICamera? That script is what sends out the events. Make sure its event receiver mask is correct.

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Buttons Stopped Receiving clicks
« Reply #2 on: October 22, 2012, 05:27:59 PM »
That was it!  Why did that change on it's own?  Either way, it changed on it's own somehow, but it was an easy fix.  Thank you! That was killing me.  :)