title: How do I get properties for each object in the array?
body: <p>I'm trying to write a card game and I have this question.</p>
  <p>I have a <code>List&lt;int&gt; address1Player;</code> which contains a set of cards with parameters.</p>
  <p>I need to pull the parameter of each card from this sheet.</p>
  <p>For example, <code>List&lt;int&gt; address1Player</code> contains cards with id 1, 2, 3. I need to find out what colors of cards are in <code>List&lt;int&gt; address1Player</code>. Colors are stored in <code>int</code>.</p>
  <p>The color getting parameter looks like this</p>
  <pre><code>public int PropertyColor(int address){
      return allProperties[address].GetComponent&lt;Plot&gt;().GetColor();
  }
  </code></pre>
  <p>How do I make sure that I end up with an array with the colors of each card?</p>