Author Topic: "OnMouse_ event handlers" warnings in console  (Read 5923 times)

mishaps

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 65
    • View Profile
"OnMouse_ event handlers" warnings in console
« on: January 08, 2014, 01:04:31 AM »
Been getting this warning in the console recently:

Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Is this something I should be worrying about or does NGUI disable it automatically on mobile? Perhaps I hit the wrong tickbox somewhere?  :o

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: "OnMouse_ event handlers" warnings in console
« Reply #1 on: January 08, 2014, 12:47:53 PM »
NGUI doesn't use OnMouse* events, so I would suggest checking your code. OnMouseOver, OnMouseOut, etc. Those are not NGUI's functions.

mishaps

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 65
    • View Profile
Re: "OnMouse_ event handlers" warnings in console
« Reply #2 on: January 08, 2014, 03:26:07 PM »
Okay. It was an old version of FingerGestures. Thanks for the advice.