- Home /
Does Unity Remote 4 act the same as it would when it is on the app store?
I am using the app Unity Remote 4 to test my app that I am developing. I am wondering if how the app works on Unity Remote will be the exact same as it would if it was on the app store. I am asking this because In my code i have Input.GetAxis("Fire1") and when I tap the screen Input.GetAxis("Fire1") returns 1, and in the input manager it says its only assigned to return 1 when it is clicked by a mouse.
When i tap the screen, is it just registering as a click event, or does the input manager treat touches and clicks as the same thing?
Answer by Universalerror · Jan 18, 2016 at 09:00 AM
A click is not the same as pressing the mouse button. When you click the mouse, the event is the pressing of the button rather than actually clicking a point on the screen. Touches are able to emulate clicks which is why OnMouseDown events and similar ones still work, but the touch doesn't simulate the pressing of the button on the mouse.
Your answer
Follow this Question
Related Questions
Input.GetAxis("Vertical") on touch devices. 2 Answers
Double tap on iPhone very unreliable 2 Answers
Debug iPhone game without smartphone. 1 Answer
GameObject following touch input, gesture and speed? 1 Answer
iPhone touch events slowdown fps?!? 2 Answers