Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: djoshi on October 26, 2014, 04:28:30 AM

Title: OnMouse_ event handlers error..Need Help..!!
Post by: djoshi on October 26, 2014, 04:28:30 AM
I am getting error while building project in android.
"Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()"

Also It does weird thing when I first time touch on TextField in my game.

Can some one tell me where is this problem?

I am using "MOUSE DOWN" on every button & also scene has GUILayoutTextField.

I suspect any of these but not sure? & what to do? :-\
Title: Re: OnMouse_ event handlers error..Need Help..!!
Post by: djaydino on November 23, 2014, 09:26:36 AM
you should use touch actions for mobile instead of mouse down action

the "error" you get is not an error but a warning
It will give this warning even if you are not using any on mouse
but does not give any problems