Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: mishaps on January 08, 2014, 01:04:31 AM

Title: "OnMouse_ event handlers" warnings in console
Post by: mishaps 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
Title: Re: "OnMouse_ event handlers" warnings in console
Post by: ArenMook 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.
Title: Re: "OnMouse_ event handlers" warnings in console
Post by: mishaps on January 08, 2014, 03:26:07 PM
Okay. It was an old version of FingerGestures. Thanks for the advice.