Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Turning AdMob off during gameplay

$
0
0
Hello fellow developers,

For a while now I've been able to run ads on my game, with the banner appearing in my menu and then remaining throughout the different scenes in the game. What I'm having trouble with is hiding this ad banner during the gameplay.

I've tried to use conditional statements to hide the banner:
(my script mirrors boolean operators, I just haven't learned how to use them. Anyway this works)

Code (CSharp):
  1.  
  2. void Update(){
  3.         hidead = otherscript1.hidead;
  4.         showad =...
Turning AdMob off during gameplay

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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