title: how can create touch screen android scroll in unity3d?
body: <p>I want to create an Android game with Unity3d. This game has an upgrade list with a touchable scroll. I use this code to create that but when I move finger in touch screen, scroll move hard and with a jump, I want it to move softly and like Android effects.</p>
  
  <pre><code>scrollPosition1 = GUI.BeginScrollView(Rect (0,400,Screen.width,175), 
                                        scrollPosition1, Rect (0, 0, 650, 0)); 
      // touch screen 
      if(Input.touchCount==1 &amp;&amp; 
         Screen.height -Input.GetTouch(0).position.y &gt;  450 - scrollPositionHome.y &amp;&amp; 
         Screen.height - Input.GetTouch(0).position.y &lt; 600 - scrollPositionHome.y)
      {
          var touchDelta2 : Vector2 = Input.GetTouch(0).deltaPosition;
          scrollPosition1.x +=touchDelta2.x;
      }
  
      for (i=0;i &lt; ImgSliderProducts.Length;i++)
      {
          GUI.DrawTexture(Rect(20+(i* 100),10,100,100), 
                          ImgSliderProducts[i],ScaleMode.ScaleToFit,true);
      }
  
  GUI.EndScrollView(); 
  </code></pre>