Пример #1
0
 public virtual void onRewardedAdLoaded(string placementId)
 {
     AdiveryEventExecutor.ExecuteInUpdate(() =>
     {
         OnRewardedAdLoaded?.Invoke(this, placementId);
     });
 }
        //------------------------------------------------------------
        // Rewarded Ads Callbacks.
        //------------------------------------------------------------

        private void HandleAdMobRewardBasedVideoLoaded(object sender, EventArgs args)
        {
            Debug.Log("AdMob rewarded video ad has been loaded successfully.");

            if (OnRewardedAdLoaded != null)
            {
                OnRewardedAdLoaded.Invoke(sender, args);
            }
        }