public void IAPPurchaseRequest() { if (Spil.IapPurchaseRequest == null || Spil.IapPurchaseRequest.Equals("")) { SpilLogging.Error("Iap Purchase Request SKU Id not set! Please configure value in the Spil SDK object!"); } else { SpilUnityImplementationBase.fireIAPRequestPurchase(Spil.IapPurchaseRequest); } Destroy(SplashScreen); }
/// <summary> /// This event indicates that an IAP request was fired from the SDK. /// </summary> public void IAPRequestPurchase(string skuId) { SpilUnityImplementationBase.fireIAPRequestPurchase(skuId); }