示例#1
0
 public void BuyPerClickBoost(ShopItem item)
 {
     if (item.videoAgainstMoney && GameManager.instance.GetScore() < item.price)
     {
         AdsManager.instance.ShowRewarded(item.Action);
     }
     else
     {
         GameManager.instance.SubtractFromScore(item.price);
         item.Action();
     }
 }