Author Topic: OnHover Activates When Window Not On Top  (Read 1400 times)


  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 8
  • Posts: 101
    • View Profile
OnHover Activates When Window Not On Top
« on: February 12, 2014, 03:56:25 PM »
PC / WebPlayer Build
NGUI 3.4.1 or somewhere around there

I realized that when I put another window in front of Unity Editor, or Webplayer in browser, and put the mouse over an item that should not detect hover (due to another window in front)...  the hover event triggers.  When I say another window in front, I mean like... Chrome, Word, etc.  Not another Unity Window.

I was all worried then I checked for clicking... and clicking does not register, just hover.

Not that big of a deal.  I started writing this thinking someone could click something on a window in front of a running game, and the game interpret the click as well.

Just a FYI.  I don't really need this fixed, unless it's dirt simple and will consume like .00001% CPU.


  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: OnHover Activates When Window Not On Top
« Reply #1 on: February 13, 2014, 12:41:05 AM »
I can't do much about this as it's a Unity thing. NGUI simply goes by what Unity reports it via Input.