- Home /
stationary touch doesn't work
Hello, this is my code: for (int i = 0; i < Input.touchCount; ++i) { if (Input.GetTouch (i).phase == TouchPhase.Stationary) { print ("help_me_pls"); } } (I am using unity remote btw)...The problem is that I expect this code to be printing something if my finger is touching screen but not moving but even when I am swiping on screen it still keeps printing "help_me_pls"... I didn't find anything about this problem yet, I really need help... Thanks in advance for any advice :)
Your answer
Follow this Question
Related Questions
EventSystem.current.IsPointerOverGameObject(t.fingerId) - Not working on Android builds - Unity 2 Answers
How to make floating mobile keyboard in mobile game ? 0 Answers
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Android increase force of object by position of touch 0 Answers
How can we make touch controls like Hole.io/ Bumper.io? 0 Answers