Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

exception for pause

$
0
0
Hello Everyone, I have made a game like if you leave the game it will return to the begin scene. But then I got the problem with showing advertisement. If the ad is showing it makes the game pause to, so i don't know how to make an expectation for the advertisement. This is the script that does the pausing. void OnApplicationPause(bool paused) { Debug.Log("APP PAUSED: " + paused); // prints APP PAUSED: True when paused if (!paused) { SceneManager.LoadScene("Returntobegin"); Debug.Log("RESUMING..."); } }

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>