public static Request <Models.Purchase> LaunchCheckoutFlow(string productID) { if (Core.IsInitialized()) { return(new Request <Models.Purchase>(CAPI.ovr_IAP_LaunchCheckoutFlow(productID))); } return(null); }
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); }