Input Touch(Take off finger but it's recognized as if touch was pressed.)
public class TouchTest : MonoBehaviour
{
private void OnGUI()
{
GUI.Label(new Rect(Screen.width /2 -200, 10, 400, 200), string.Format("Touch Count = {0}", Input.touchCount));
if (Input.touchCount > 0)
{
Rect labRect = new Rect(10, Screen.height - 20 - 20 * Input.touchCount, Screen.width, 20);
for (int i = 0; i < Input.touchCount; ++i)
{
Touch touch = Input.GetTouch(i);
GUI.Label(labRect, string.Format("fingerID = {0}, phase = {1}", touch.fingerId, touch.phase));
labRect.y += 20;
}
}
}
}
MyTest Case :
Unity Version = 2017.2.0f3
Platform = StandAlone Windows 10 (PC has touch screen)
touch one spot and hold then random touches other spots around 15~20seconds. At some point, the touch is maintained at the Stationary phase. Even if I take all my fingers off, they remain Stationary. Input.touchCount becomes 32 and all touches phase stationary
sorry my bad english, please any help. thank you.
Your answer
Follow this Question
Related Questions
Change the value of X between each touch 0 Answers
Mobile Touch vs PC Touch 0 Answers
How do i make up and down button script for Mobile in Unity 5.3.2 0 Answers
Massive lag spike on first Input.GetTouch with nothing on scene but one script (Android) 2 Answers
New Input System: ArgumentException: Event must be a state or delta state event 3 Answers