Пример #1
0
        private void OnRewardedAdFailedToLoad(object sender, AdErrorEventArgs e)
        {
            print("OnRewardedAdFailedToLoad");
            print($"Error message: {e.Message}");

            _adEvent |= RewardedAdEvents.AdFailedToLoad;
        }
Пример #2
0
 private void Update()
 {
     if (_adEvent != 0)
     {
         HandleAdEvent();
         _adEvent = 0;
     }
 }
Пример #3
0
 public void Show()
 {
     _adEvent = RewardedAdEvents.NeedToShow;
 }
Пример #4
0
        private void OnRewardedAdLoaded(object sender, EventArgs e)
        {
            print("OnRewardedAdLoaded");

            _adEvent |= RewardedAdEvents.AdLoaded;
        }
Пример #5
0
 private void OnRewardedAdOpening(object sender, EventArgs e)
 {
     print("OnRewardedAdOpening");
     _adEvent |= RewardedAdEvents.AdOpening;
 }
Пример #6
0
        private void OnRewardedAdUserEarnedReward(object sender, Reward e)
        {
            print("OnRewardedAdUserEarnedReward");

            _adEvent |= RewardedAdEvents.UserEarnedReward;
        }