Godot-Android-Admob-Plugin icon indicating copy to clipboard operation
Godot-Android-Admob-Plugin copied to clipboard

Add possibilty to hide (and show) the Admob-Node

Open MaaaxiKing opened this issue 4 years ago • 6 comments

Godot version: 3.2.1.stable.official Admob Plugin version: 3.0.1 Issue description: You should be able to hide the Node in the SceneTab where the other nodes are.

MaaaxiKing avatar Jun 16 '20 11:06 MaaaxiKing

I'll try to add a property to enable or disable the ads in the node.

Shin-NiL avatar Jun 16 '20 11:06 Shin-NiL

Also fine

MaaaxiKing avatar Jun 16 '20 11:06 MaaaxiKing

If this is possible could the enable property be at the top of the script variables? Would just be better to find. And its default should be true because noone would download this plugin and then want to enable it himself.

MaaaxiKing avatar Jun 19 '20 09:06 MaaaxiKing

It will be a property, so it doesn't matter if it will be on top or bottom, because you'll just call something like this:

admob.ads_enabled = false

Yes, it will be true by default for sure.

Shin-NiL avatar Jun 19 '20 11:06 Shin-NiL

But I mean in the inspector, you could change its value too, because it should be an export var.

MaaaxiKing avatar Jun 19 '20 11:06 MaaaxiKing

Ah, ok, I got.

Shin-NiL avatar Jun 19 '20 12:06 Shin-NiL