-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc: Change return type of _Set
method from void
to bool
in C# code example
#83602
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the GDScript function is missing a return false, so it returns either true or void. I think we should fix the GDScript code too.
That's right, a return value of "false" should be added to maintain consistency with the document description. |
Looks good! Could you squash the commits? See PR workflow for instructions. |
Add "return false" to GDScript code example of _Set method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for contributing to the .NET documentation!
If this is cherry-picked, we should probably cherry-pick #80475 too.
_Set
method from void
to bool
in C# code example
Thanks! And congrats for your first merged Godot contribution 🎉 |
Cherry-picked for 4.1.3. |
This is clearly that the method return a boolean value instead of void.