title: Want to move an object from 1st place to 2nd and then 1st again using translate
body: <p>I am very new to Unity. I want to move an object from one place to another and then back to the 1st place again automatically. Is there any way to do that? Here's my code to move the object, but it's going infinity and beyond!</p>
  
  <pre><code>float speedX = 1; float speedY = 0; float speedZ = 0;
  
   // Use this for initialization
   void Start () {
  
   }
  
   // Update is called once per frame
  void Update () {
       transform.Translate (new Vector3 (speedX, speedY, speedZ) * Time.deltaTime);
   }
  </code></pre>