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)
Turning AdMob off during gameplay
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):
- hidead = otherscript1.hidead;
- showad =...