title: Unity - Draw Path for Characters to follow
body: <p>I need <a href="http://docs.unity3d.com/ScriptReference/Object.Instantiate.html" rel="nofollow noreferrer">Instantiate</a> Characters in path moving from the start of path to the end of it. </p>
  
  <p>My tries:</p>
  
  <pre><code>public class EnimaySpwan : MonoBehaviour 
  {
      public GameObject gameObject;
      public Transform WaterSpawn; // this where I want my enemy appear 
  
      private void Update() 
      {
          Instantiate (gameObject, WaterSpawn.position, WaterSpawn.rotation);
      }
  }
  </code></pre>
  
  <p>My object movement script:</p>
  
  <pre><code>public class Mover : MonoBehaviour 
  {
      public float speed;
  
      private void Start() 
      {
          GetComponent&lt;Rigidbody&gt;().velocity = transform.forward * speed;
      }
  }
  </code></pre>
  
  <p>This code makes character move in direct way, not in the specific path I draw as I want.</p>
  
  <h2>Problems:</h2>
  
  <p>I need to create path for my enemies from start of a path (Instantiation) position to end of path (destination).</p>
  
  <p>How can I approach this, any help? </p>