コード例 #1
0
        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);
        }
コード例 #2
0
 /// <summary>
 /// This event indicates that an IAP request was fired from the SDK.
 /// </summary>
 public void IAPRequestPurchase(string skuId)
 {
     SpilUnityImplementationBase.fireIAPRequestPurchase(skuId);
 }