+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

in Engine by (671 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")
by (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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.