title: Can't access class variables through array of objects (unityscript/Unity)
body: <p>Here is my class</p>
  
  <pre><code>public class ItemClass extends System.ValueType
  {
      public var itemTexture : Texture2D;
      public var descriptionTexture : Texture2D;
  
      public function ItemClass (item:Texture2D, desc:Texture2D)
      {
          itemTexture = item;
          descriptionTexture = desc;
          //GUI.DrawTexture(Rect(179, 140, 200, 202), attHighlight4);
      }
  }
  </code></pre>
  
  <p>Here is my array</p>
  
  <pre><code>var Test = new ItemClass(Axe, AxeDescription);
  public var itemArray = new ArrayList();
  itemArray.Add(Test);
  </code></pre>
  
  <p>If I try to access itemArray[0].itemTexture Unity tells me that itemTexture is not a member of 'Object'.  </p>
  
  <p>Looking for the syntax to access itemTexture.</p>