playMaker

Author Topic: OnMouse_ event handlers error..Need Help..!!  (Read 5329 times)

djoshi

  • Playmaker Newbie
  • *
  • Posts: 4
OnMouse_ event handlers error..Need Help..!!
« 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? :-\

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: OnMouse_ event handlers error..Need Help..!!
« Reply #1 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