public void purchase(string item, string developerPayload) { if (unknownProducts.Contains(item)) { callback.logError(UnibillError.WP8_ATTEMPTING_TO_PURCHASE_PRODUCT_NOT_RETURNED_BY_MICROSOFT, item); callback.onPurchaseFailedEvent(item); return; } wp8.Purchase(item); }
public void purchase(string item, string developerPayload) { #if UNITY_METRO if (unknownProducts.Contains(item)) { callback.logError(UnibillError.WIN_8_1_ATTEMPTING_TO_PURCHASE_PRODUCT_NOT_RETURNED_BY_MICROSOFT, item); callback.onPurchaseFailedEvent(item); return; } UnityEngine.WSA.Application.InvokeOnUIThread(() => { wp8.Purchase(item); }, false); #endif }
public void purchase(string item, string developerPayload) { wp8.Purchase(item); }
public override void Purchase(ProductDefinition product, string developerPayload) { win8.Purchase(product.storeSpecificId); }
public void purchase(string item, string developerPayload) { UnityEngine.WSA.Application.InvokeOnUIThread(() => { win8.Purchase(item); }, false); }