godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.52k stars 21.26k forks source link

Inconsistent call syntax between languages #15894

Closed paulloz closed 4 years ago

paulloz commented 6 years ago

Godot version: master / 09732a1

OS/device including version: Linux Mint 18.2 + Cinnamon 3.4.6

Issue description: Currently the process of calling functions in scripts defined in several languages is inconsistent. If I have 3 Nodes with a script attached (GDScript, CSharp and VScript) and a function foo defined in each, I can do (commented lines show impossible options):

Not sure it would be that easy to totally skip the .Call(...) syntax in C#, but it sure is weird not being able to call directly VisualScript functions from GDScript when it's possible with C# methods.

paulloz commented 5 years ago

This seems handled by #27497 IINW (at least between C# and GDScript).

Calinou commented 4 years ago

Closing, as the base feature seems to be handled now. If you still need something else to be added, please open a proposal on the Godot proposals repository.