private void OnRewardedAdFailedToLoad(object sender, AdErrorEventArgs e) { print("OnRewardedAdFailedToLoad"); print($"Error message: {e.Message}"); _adEvent |= RewardedAdEvents.AdFailedToLoad; }
private void Update() { if (_adEvent != 0) { HandleAdEvent(); _adEvent = 0; } }
public void Show() { _adEvent = RewardedAdEvents.NeedToShow; }
private void OnRewardedAdLoaded(object sender, EventArgs e) { print("OnRewardedAdLoaded"); _adEvent |= RewardedAdEvents.AdLoaded; }
private void OnRewardedAdOpening(object sender, EventArgs e) { print("OnRewardedAdOpening"); _adEvent |= RewardedAdEvents.AdOpening; }
private void OnRewardedAdUserEarnedReward(object sender, Reward e) { print("OnRewardedAdUserEarnedReward"); _adEvent |= RewardedAdEvents.UserEarnedReward; }