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

Unable to create "GA" instance #1

Open
guybashan opened this issue Dec 6, 2019 · 1 comment
Open

Unable to create "GA" instance #1

guybashan opened this issue Dec 6, 2019 · 1 comment

Comments

@guybashan
Copy link

guybashan commented Dec 6, 2019

When I call:
var GA = load("res://analytics/analytics.gd").new()

I am getting the following error:
Parser Error: Function signature doesn't match the parent. Parent signature is: 'int connect(String, Object, String, Array=default, int)'.

@guybashan
Copy link
Author

OK, the reason for that is that GoDot 3.1 added signals support and a new method called "connect" which is used by your code. Changing "connect" to "http_connect" solves the problem.

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

1 participant