Author Topic: OnDrag and OnHover conflict  (Read 2182 times)

iKonrad

  • Guest
OnDrag and OnHover conflict
« on: August 07, 2013, 02:34:34 PM »
Hey guys.
Just before I start my actual thread, I'd like to thank to NGUI team for outstanding work and effort put to make this great plugin.

However I encountered one problem during the development.
For some reason the OnDrag and OnHover don't work with each other. For example, when the mouse is over my Player, it's supposed to be highlighted. It works fine, to the point when I want to drag an item on it. When I'm dragging an item on the player, the "OnHover" callback is not called at all.
Any thoughts how to make a quick workaround to achieve that?

Thanks a lot.
Konrad

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: OnDrag and OnHover conflict
« Reply #1 on: August 08, 2013, 09:55:08 AM »
"sticky press" option on the UICamera. You won't receive hover events, but you will receive press events.