Soomla MarketItem.Consumable Error
Hi!I was using Soomla before but today Soomla couldn'tfind consumable option for MarketItem.Here is the code:
using Soomla.Store;
public class ItemsForPurchase : IStoreAssets {
public const string PACKAGE_ONE_ID = "package_1";
public const string PACKAGE_TWO_ID = "package_2";
public const string PACKAGE_THREE_ID = "package_3";
public const string PACKAGE_FOUR_ID = "package_4";
public int GetVersion()
{
return 0;
}
public VirtualCurrency[] GetCurrencies()
{
return new VirtualCurrency[] { };
}
public VirtualCurrencyPack[] GetCurrencyPacks()
{
return new VirtualCurrencyPack[] { };
}
public VirtualCategory[] GetCategories()
{
return new VirtualCategory[] { };
}
public VirtualGood[] GetGoods()
{
return new VirtualGood[] { };
}
public static VirtualGood PACKAGE_ONE = new SingleUseVG
(
"100 Gems",
"100 In Game Gems",
PACKAGE_ONE_ID,
new PurchaseWithMarket(new MarketItem(PACKAGE_ONE_ID,MarketItem.Consumable.CONSUMABLE, 1.45))
);
}
Please help me!
Comment
Your answer
Follow this Question
Related Questions
Unity 2D Store on Different Scene? 0 Answers
If I buy Unity Pro can I upload to App stores for free? 1 Answer
Unity black screen on opening 3 Answers
IAP Issue Ongoing for Months 0 Answers