- Home /
mouse doesnt work in flash build
when i build my game in flash the mouse no longer works how come, does flash not support the mouse as it works fine in editor.
I'm having the same problem... I think. Something is differently not working and I think it is the Input.GetButton ("Fire1") in my code. I have seen this problem pop up a lot but have not found a good answer yet sorry.
Answer by reptilebeats · Jan 03, 2012 at 03:01 AM
i have kind of asked the same question twice but after some looking around and testing on mac, i have found that any OnMouse function will not work with a flash build, but apparently it has been fixed and will be with the new release of unity.
oh and using an update function and calling mouse button (0)(1)(2) and so on wont work you have to manually make make this button in
edit-inputsettings
then use mouse 0 as input and use getbutton ins$$anonymous$$d, works for me bit tricky when i want to use on exit as these dont work..
not sure if the mouse gets picked up at all, but the buttons can be.
Your answer

Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
After build, mouse doesn't work... 2 Answers
flash problem 2 Answers
Mouse y-axis locked only in build 0 Answers
How can I find the line number in flash build error (simple)? 1 Answer