示例#1
0
 void Update()
 {
     if (Input.touchCount > 0)
     {
         preTouchStatus = touchInput.touchStatus;
         touchPosition  = touchInput.CaptureTouch(Input.GetTouch(0));
         if (preTouchStatus != touchInput.touchStatus && !inputLocked)
         {
             StartCoroutine(TouchEventUpdate());
         }
     }
 }