Exemplo n.º 1
0
    public void BuyItem(ProbType type, int index, int price)
    {
        if (!PurchaseManager.Instance.PayCoin(price))
        {
            NeedMoreCoins();
        }

        _profileManage.AddProb(type, index);

        ReInitiate();
    }