Replies: 3 comments 2 replies
-
Given an object, you can invoke a function on it like this: func callOn (node: Node) {
node.call (method: "my_method", Variant (10)
} That would invoke the "my_method" function in GDScript. |
Beta Was this translation helpful? Give feedback.
2 replies
-
What about calling Swift from GDScript , does it work similar to how C# does ? can GDScript have auto-completion of SwiftClass' members ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can call Swift from GDScript, that is what @callable is for: Does that scenario cover what you had in mind? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does it exist and if yes how does it work with existing GDScript Code ?
Beta Was this translation helpful? Give feedback.
All reactions