In Godot 4.0, the connect() function no longer takes an object and
a string name of a function, but rather the new Callable type. Following
the old instructions leads to errors.
Unfortunately, I don't have C# development set up on my machine, so I
have not updated the C# examples as I'm currently unable to validate that
they work as intended.
This is a section for beginners, and until this point,
the writing has been easy and accessible, but the GDScript
Reference is over 6.2k words long and difficult to grok in
a few minutes by a beginner.
This commit changes this sentence to instead suggest skimming
and bookmarking the page for later, because I think this was
the original intent.
I am not even going to start a discussion about GDscript vs. C#, but this line is unnecessary at this place and will only lead to false impressions. If you are in a company that intends to use C# you won't need this information. If you don't know about C# yet there's a good chance that you will be better off using GDscript.
step_by_step/scripting.rst
The final example at the mentioned tutorial had the function _on_Button_pressed as _on_button_pressed in the GDScript
example, this commit shall remove the duplicated function _on_button_pressed
Fixes#1556
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
* Update scripting.rst
Just a small sentence update for the scripting portion of the tutorial
* Change tense from "will not be editable" to "is not editable"