Author Topic: NGUI Buttons Not Picking Up Mouse Hover  (Read 3979 times)

jessekirbs

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 6
    • View Profile
NGUI Buttons Not Picking Up Mouse Hover
« on: June 11, 2014, 06:41:10 PM »
I just went through all the tutorial videos and everything was working perfectly. I would hover over a button, it would display a hover state, and I could click it. I closed the project and opened my main project, did the exact same setup, and now the buttons (sprites) no longer do anything. I made sure they have box colliders, I went through the tutorial videos again and did everything the exact same way, but the buttons do not work. What's going on here? Anyone else having this problem?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Buttons Not Picking Up Mouse Hover
« Reply #1 on: June 12, 2014, 02:31:25 AM »
Raycast Hit Triggers. It's mentioned in more than a few places -- both video tutorials and the FAQ.

jessekirbs

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 6
    • View Profile
Re: NGUI Buttons Not Picking Up Mouse Hover
« Reply #2 on: June 17, 2014, 05:55:52 PM »
Raycast Hit Triggers was checked. I know that it's mentioned, and I made sure it was checked. This was not the problem. I think it had something to do with there being a compile editor in an unrelated script. Fixed that and it fixed the NGUI problem.