public void FinishTransaction(string productId) { UM_InAppProduct product = UM_InAppPurchaseManager.GetProductById(productId); if (product != null) { FinishTransaction(product); } else { SendNoTemplateEvent(); } }
public bool IsProductPurchased(string productId) { UM_InAppProduct product = UM_InAppPurchaseManager.GetProductById(productId); if (product != null) { return(IsProductPurchased(product)); } else { return(false); } }
public void Consume(string productId) { UM_InAppProduct product = UM_InAppPurchaseManager.GetProductById(productId); if (product != null) { Consume(product); } else { SendNoTemplateEvent(); } }