Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module not working #1

Closed
fedeb95 opened this issue Dec 1, 2017 · 2 comments
Closed

module not working #1

fedeb95 opened this issue Dec 1, 2017 · 2 comments

Comments

@fedeb95
Copy link

fedeb95 commented Dec 1, 2017

I put the directory inside godot/modules, then compiled with scons platform=x11 (my system), but when I run Godot and try to get the singleton I get a null instance. Am I missing something?

@RameshRavone
Copy link
Contributor

RameshRavone commented Dec 2, 2017 via email

@RameshRavone
Copy link
Contributor

usage

var sql

if OS.get_name() == "Android":
    sql = Global.get_singleton("SQLBridge")

and for usage

if sql != null:
    sql.setValue("key", "value")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants