title: Find all transforms for an array?
body: <p>I'm trying to get all the transforms of my Enemy Cannon's, so I declared the <code>enemyCans</code> variable as follows:</p>
  
  <pre><code>GameObject[] enemyCans;
  </code></pre>
  
  <p>Then, I assigned the following value to it in the <code>start()</code> method:   </p>
  
  <pre><code>enemyCans = GameObject.FindGameObjectsWithTag("EnemyCannon").transform;
  </code></pre>
  
  <p>However, I cannot use <code>.transform</code> here like I could when I assigned my player's transform value like so: </p>
  
  <pre><code>player= GameObject.FindGameObjectWithTag("Player").transform;
  </code></pre>
  
  <p>I know this likely has to do with <code>enemyCans</code> being an array, but I'm not sure how else to get those transform values. </p>