How to do something when a rewarded video is closed before the end in Google Admob
Hello, I am currently implementing Google Admob in my Unity game. I have done a "watch a video to gain an extra life" system. It works, but I would like the Game Over screen to show intantly if the user closes the rewarded video before it ends ( there is a timer to click on the button to show the video, and the game over screen pop up at the end of this timer). I have already tried to use the OnAdClosed event, but it doesn't seem to work. Can someone please help me ? Thanks !
Answer by aimansarie · Jan 19, 2021 at 06:58 PM
I believe a simple boolean variable would suffice that could be set to true on "OnUserEarnedReward" event and then can be checked in "OnAdClosed" event accordingly. Well that's what I did anyway. Guess how I got to this post?
Your answer
Follow this Question
Related Questions
How much money I can earn with Unity Ads? 1 Answer
Banner Admod not always showing! 0 Answers
Admob and Unity ads not showing in my game 2 Answers
Admob Mediation Payment 2 Answers
UnityAds vs AdMob 0 Answers