- Home /
How to handle timescale when using admob?
I am using google admob rewarded interstitial ads and before showing/closing the ad timescale is set to 0 but as soon as I click on close ad button it sets the timescale back to 1 itself.
Comment
Best Answer
Answer by SGymme · Apr 06, 2021 at 09:18 PM
ADMob automatically sets the timescale to 0 when showing an ad, so that the game doesn't run in the background. If you want the timescale to be continued with value 0 after you close the ad, you can implement the AdClose Handle:
this.rewardedAd.OnAdClosed += HandleRewardedAdClosed;
and in the method you set your timescale to 0
public void HandleRewardedAdClosed(object sender, EventArgs args)
{
Time.timeScale = 0;
}
Your answer

Follow this Question
Related Questions
timeScale doesn't work 0 Answers
Accelerating Time Dramatically 1 Answer
Lag when Timescale is 1? 2 Answers
how to make Time in your game while you play? 1 Answer
Time.timeScale doesnt work with GUI? 0 Answers