Update GDScript examples - Step By Step: Scripting #3948
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Howdy all,
This is my first contribution to the Godot community; excited to learn more about the project over time. This is a relatively small change, but I wanted to ask a few questions:
Callable
class, but didn't find one. I'm not sure if these little piecemeal diffs are how the maintainers like to operate, or if there are plans for a larger unified effort."Regular" PR message follows. Thanks!
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 current instructions leads to error messages.
This updates this page to make the GDScript options.
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.