Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
`Start()` happens when the GameObject is first created. That might mean that the ad you want hasn't been fetched from the server. So, I guess you can initialise the ad in `Start()`, and play it in `Update()` once it's ready. I guess you are doing this, or trying to do this. Once the ad has shown, set `adHasRun` to `true` and it shouldn't play again. From a users point of view do you really want to show them an ad as the first thing they do?

Viewing all articles
Browse latest Browse all 959

Trending Articles



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