Exemplo n.º 1
0
        public static Request <Models.Purchase> LaunchCheckoutFlow(string productID)
        {
            if (Core.IsInitialized())
            {
                return(new Request <Models.Purchase>(CAPI.ovr_IAP_LaunchCheckoutFlow(productID)));
            }

            return(null);
        }
Exemplo n.º 2
0
        public static Request <Models.Purchase> LaunchCheckoutFlow(string sku)
        {
            if (Core.IsInitialized())
            {
                if (UnityEngine.Application.isEditor)
                {
                    throw new NotImplementedException("LaunchCheckoutFlow() is not implemented in the editor yet.");
                }

                return(new Request <Models.Purchase>(CAPI.ovr_IAP_LaunchCheckoutFlow(sku)));
            }

            return(null);
        }