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

Press back button to show ad?

$
0
0
I have been trying to implement a code that enables the user to press the back button to quit, but before he can, an ad shows up. Press back button > Ad shows > press back button again > quit. Here is the code that works that enables the user to press the back button, if (interstitial.IsLoaded ()) { if (Input.GetKeyDown (KeyCode.Escape)) { interstitial.Show (); } } I tried multiple codes to try to get the user to see the ad and then quit, but none works.

Viewing all articles
Browse latest Browse all 1416

Trending Articles



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