title: Unity - How To Animate UI Text Smoothly?
body: <p>I just wanted to know how do you transition a <code>UnityEngine.UI</code> from one position to another smoothly?</p>
  
  <p>My current code is this:</p>
  
  <pre><code>GameObject rank1;
  GameObject rankSlot1;
  
  rank1 = GameObject.Find("Rank1");
  rankSlot1 = GameObject.Find("RankSlot1");
  
  rank1.transform.position = new Vector3(Mathf.Lerp (rank1.transform.position.x, rankSlot1.transform.position.x, 0.1f), rankSlot1.transform.position.y, 0);
  </code></pre>
  
  <p>But it seems like the <code>Mathf.Lerp</code> doesn't work :/</p>
  
  <p>Thanks!</p>
  
  <p>EDIT: All these gameobjects do have <code>Rect Transform</code> as they are a children of <code>Canvas</code></p>