-
-
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
Update C# signal documentation and remove bind array #64930
Conversation
Edit: Changes to C# |
This comment was marked as off-topic.
This comment was marked as off-topic.
fc3fa63
to
6944f27
Compare
6944f27
to
ed6c469
Compare
ed6c469
to
9f64658
Compare
Would be good to finalize and merge this soon :) |
9f64658
to
cf727ba
Compare
Rebased and removed |
- Updates C# signal documentation and code examples to the new API in 4.0 - Replace all `nameof` usages with the exposed `StringName`
cf727ba
to
92e4b4e
Compare
{ | ||
GD.PrintS(arg1, arg2, arg3); | ||
} | ||
|
||
public void Test() | ||
{ | ||
Callable callable = new Callable(this, nameof(PrintArgs)); | ||
callable.Call("hello", "world"); // Prints "hello world null". | ||
// Invalid calls fail silently. |
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.
This is because of #59830.
Thanks! |
nameof
usages with the exposedStringName
Signal.Connect
Doesn't Work as Documented inObject.Connect
Documentation #71895.