title: The name `Array' does not exist in the current context
body: <p>Does anyone know why I'm getting this error? This shows after upgrading my project to the new version of Unity3d.</p>
  <blockquote>
  <p>Error CS0103: The name `Array' does not exist in the current context</p>
  </blockquote>
  <pre><code>#if IAP &amp;&amp; UNITY_PURCHASING
  private void OnItemPurchased(IAPItem item, int index)
  {
      // A consumable product has been purchased by this user.
      if (item.productType == PType.Consumable)
      {
          CurrencyController.CreditBalance(item.value);
          Toast.instance.ShowMessage(&quot;Your purchase is successful&quot;);
          CUtils.SetBuyItem();
          if(Array.IndexOf(Purchaser.instance.iapItems, item) &gt;= 1)
          {
              CUtils.SetRemoveAds(true);
          }
      }
      // Or ... a non-consumable product has been purchased by this user.
      else if (item.productType == PType.NonConsumable)
      {
          // TODO: The non-consumable item has been successfully purchased, grant this item to the player.
      }
      // Or ... a subscription product has been purchased by this user.
      else if (item.productType == PType.Subscription)
      {
          // TODO: The subscription item has been successfully purchased, grant this to the player.
      }
  }
  #endif
  </code></pre>