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

Unity ads, play an ad in the Start function?

$
0
0
I am using Unity ads and it seems I can only get the ads to run in the Update() function, this keeps playing over and over and doesn't allow enough time between ads for me to carry on with the game. I want to play it once using the start function but then it doesn't play at all, I also tried wrapping it in a loop like so which also doesn't work, anyone have any ideas? void Update() { if (adHasRun == false) { Advertisement.Initialize("myNum"); if (Advertisement.isReady()) { Advertisement.Show(); } } }

Viewing all articles
Browse latest Browse all 1416

Trending Articles



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