Beispiel #1
0
    public void FinishTransaction(string productId)
    {
        UM_InAppProduct product = UM_InAppPurchaseManager.GetProductById(productId);

        if (product != null)
        {
            FinishTransaction(product);
        }
        else
        {
            SendNoTemplateEvent();
        }
    }
Beispiel #2
0
    public bool IsProductPurchased(string productId)
    {
        UM_InAppProduct product = UM_InAppPurchaseManager.GetProductById(productId);

        if (product != null)
        {
            return(IsProductPurchased(product));
        }
        else
        {
            return(false);
        }
    }
Beispiel #3
0
    public void Consume(string productId)
    {
        UM_InAppProduct product = UM_InAppPurchaseManager.GetProductById(productId);

        if (product != null)
        {
            Consume(product);
        }
        else
        {
            SendNoTemplateEvent();
        }
    }