title: Get the positions of LineRenderer
body: <p>I wonder if there is a way to get the positions of nodes in a line renderer. In the project I'm working on I have a <code>PseudoLine</code> game object on which I have a line renderer. When I draw a line, I clone <code>PseudoLine</code> to create a new line. Using simply:</p>
  
  <pre><code>Instantiate(gameObject);
  </code></pre>
  
  <p>What I want to do is create new gameobjects with a prefab, which also has a line renderer on it. I want to copy the positions of <code>PseudoLine</code> to my new game object's line renderer. Something like this:</p>
  
  <pre><code>GameObject tempLine = Instantiate(line);
  tempLine.GetComponent&lt;LineRenderer&gt;().SetPositions(transform.gameObject.GetComponent&lt;LineRenderer&gt;().Positions);
  </code></pre>
  
  <p>I checked the documentation and couldn't find any helpful built-in functions. How can I resolve this problem?</p>