Closed kyoz closed 2 years ago
Just run
if not OS.is_debug_build(): $AdMob.is_real = true
This will tell it to show real ads if it is NOT running in the editor OR a debug build. Their you go it's automated.
Or i forgot this, i have actually solve before. Btw thank you very much.😊
Sorry that code might not work use this instead.
if OS.is_debug_build():
$AdMob.is_real_set(false)
else:
$AdMob.is_real_set(true)
Godot version: 3.3
AdMob Plugin version: 5.0
Issue description: Can i toggle this by gdscript on runtime. Cause if i have toggle this in inspector, sometime in the future, when maintaining my project, i may forget it and cause new release is full of test ads. :(