+1 vote

I need to use the functions in this link:

https://github.com/kloder-games/godot-admob

But I don't know how do I call the singleton in Godot 3.1 Alpha 3

asked Dec 15, 2018 in Engine by JulioYagami (633 points)

B4DNetwork's answer is correct about accessing singletons. I wanted to mention, just in case you missed it, that using that module requires compiling an export template from source, in order to make the module available via a singleton.

Compiling export templates

1 Answer

0 votes

Check This Solution

you might use :

Engine.has_singleton("some_module")
Engine.get_singleton("some_module")
answered Jan 27, 2019 by B4DNetwork (24 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.