public VirtualProductInfo(string newProductID, string newLocalizationKey, IapManager.CurrencyType newCurrencyType, int newPrice, Hashtable newRewards) { this.productID = newProductID; this.localizationKey = newLocalizationKey; this.currencyType = newCurrencyType; this.price = newPrice; this.rewards = newRewards; }
private void Start() { IapManager.CurrencyType currencyType = this.currencyType; if (currencyType != IapManager.CurrencyType.SnoutCoin) { if (currencyType == IapManager.CurrencyType.Scrap) { this.parentButton = ScrapButton.Instance; } } else { this.parentButton = SnoutButton.Instance; } if (this.burstAmount <= 0 || this.parentButton == null || this.parentButton.CurrencyEffect == null) { this.CheckDestroy(); return; } }
public void getBalance(IapManager.CurrencyType currency, Action <int> response) { response(0); }