Beispiel #1
0
 private void AttemptRewardUnlock(RewardAndBarrier[] list, string reasonString)
 {
     Array.ForEach(list, rb =>
     {
         GameProgressionUtil.ChangeBananaCountBy(rb.Reward);
         bananaRewardWindowManager.AddRewardToUnlock(rb, reasonString);
     });
 }
Beispiel #2
0
 public void IncreaseBananaCount(int value)
 {
     Debug.Log("Banana count increase from IAP: " + value);
     GameProgressionUtil.ChangeBananaCountBy(value);
     progressStorePage.UpdateBananaCount();
 }