title: Updating of Touch Input in Unity not working
body: <p>I am making a game like pong, except the user controls both paddles and is trying to keep the ball in bound. I am using touch to control both the paddles. The way I assigned the index of the touch is like so:</p>
  
  <pre><code>     public void checkTouchIndex() {
      if (Input.touchCount &lt;= 1)
      {
          touchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position);
          if (touchPos.x &lt; 0)
          {
              Debugger.il = "Touch Index = 0";
              myTouch = Input.GetTouch(0);
          }
  
      }
      if (Input.touchCount &gt;= 1)
      {
          touchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(1).position);
          if (touchPos.x &lt; 0)
          {
  
              Debugger.il = "Touch Index = 1";
              myTouch = Input.GetTouch(1);
  
          }
      }
      else
          Debugger.il = "Side not touched";
  }
  </code></pre>
  
  <p>Here is the code for moving the actual paddle: </p>
  
  <pre><code>     public void checkMovementTouch() {
      if (Input.touchCount &gt; 0)
      {
          //assigns touch index
          checkTouchIndex();
  
          touchPos = Camera.main.ScreenToWorldPoint(myTouch.position);
  
          if (touchPos.x &gt; 0)
          {
  
              //Begin Section: Touch left side
              if (touchPos.y &gt; 0)
              {
                  //moves upwards
                  move(true);
              }
              else
              {
                  //moves downwards
                  move(false);
  
              }
              //End of section
          }
  
      }
  
  }
  </code></pre>
  
  <p>Note: the <code>Debugger</code> is just showing text on screen of what side was touched and the x- position of the touches. However I am having difficulties updating. You should be able to drag your finger and have the paddle follow it, but after some testing I noticed that only one of the paddles is updating correctly to follow the finger, and it is always the paddle with the index of one. </p>
  
  <p>For example, if I touch the ride side, then lay another finger on the left side. I will be able to drag my left side up and down correctly, but the right side, even when I move it up and down, will stay put.</p>
  
  <p><strong>Question:</strong> How can I get both the paddles to update perfectly.</p>