0 votes

Hi,
where can I find correct C# docs for Godot 3 beta 1?

For example,
in the docs it says that I can use Input.isactionpressed, where in reality the function is called Input.IsActionPressed, which makes sense because the former is Python format.

I searched in Google and in Godot documentation, but all I can see are the old function names.

Thanks

P.S. Don't know if it's important, but I'm running from Linux Manjaro.

asked Dec 4, 2017 in Engine by Antonb (61 points)

1 Answer

0 votes
Best answer

Functions and classes available in C# are strictly the same as those exposed in GDScript, the only difference is the casing due to formatting conventions and strong typing. So the latest docs already are the correct ones... however I have no idea if it was requested yet to make searching work both in snake_case and PascalCase, which is a valid concern.

answered Dec 4, 2017 by Zylann (27,008 points)
selected Dec 5, 2017 by Antonb

Can you give me the link to correct docs with PascalCase? I haven't found any, even on main website

That's my point, there isn't any. The current doc really is the one for all languages, so if your language uses a different formatting you have to do the translation yourself. It's easy to do the conversion once you know conventions, but it's confusing so I asked about it here https://github.com/godotengine/godot-docs/issues/828

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.