title: Simple int array in unity 3d
body: <p>How can i create a int array in class.</p>
  
  <p>And i have to add values to that array.</p>
  
  <p>Not to a specific key.</p>
  
  <p>i declared array as </p>
  
  <pre><code>public int[] iArray;
  </code></pre>
  
  <p>from function i have to insert values of i to array. My i values gets change. So i have to save those in a array.</p>
  
  <pre><code>iArray[] = i; 
  </code></pre>
  
  <p>But it shows error.</p>