-
Notifications
You must be signed in to change notification settings - Fork 54
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
Declaring swift types from my GDScript classes #472
Comments
So for example I have an enemy controller Node written in GDScript that will get generated pawn nodes as childs (from elsewhere ) also written in GDScript. Now I want to port the enemy controller into Swift... |
Please use the Discussion group for questions, not issues. You can call the methods using the
Does that solve the problem? One thing that I would like to do is to generate bindings of APIs that users define in GDScript or other languages, and there are some other folks interested, I believe it might have been discussed somewhere in Godot land. There is an alternative somewhere in the bug tracking here along the lines of "Run a GDScript to dump the API, and then write a generator for that" |
Hey there, thanks for the reply. I wanted to join the slack server but it doesn't let me. As for your stated code: |
Oh, I mean the discussions here on GitHub: |
Hello there !
Is it possible to declare types of class members from my own GDScript classes (I use "class_name" there to make it accessible) ?
So, basically calling into GDScript ?
I didn't find anything that covers that topic...
Thanks
Windows 10
Swift 5.10
Godot 4.2
The text was updated successfully, but these errors were encountered: