Esempio n. 1
0
 // Have the distance requirements been met to play a video ad
 public bool DistanceSinceAdChecker()
 {
     if (PlayerPrefsController.GetDistanceSinceAd() > distanceForAd)
     {
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 // Add this game's distance to cumulative video ad checking distance
 private void AddToDistance()
 {
     PlayerPrefsController.SetDistanceSinceAd(distance + PlayerPrefsController.GetDistanceSinceAd());
 }