- Home /
Disable Unity Ads
Hello Everyone:
I have integrated unity ads in my game and i have also integrated Remove ads which user can buy in the game and enjoy the game without ads.
My question is : how to disable unity ads in the game if user had purchased Remove Ads (i.e disabling caching video ads and all other unity ad related things).
Thanks..
Comment
Answer by ggirgin · Jul 19, 2016 at 03:30 AM
Hi, So you attached your script in a gameobject in order to use Ads. Just delete with Destroy function your game object. Save the case in playerprefs such as ads removed 1 ads not removed 0 . Each time check in your Start () function is this number 0 or 1 then go destroy or not destroy the Gameobject.rjvrajani