// Use this for initialization public void Tap() { if (Purchaser.CheckBuyState(nameProduct) == true) { CartController.thimeCart = idTheme; PlayerPrefs.SetInt("THEME_MONEY", CartController.thimeCart); } else { pur.BuyConsumable(nameProduct); } }