Update C# signal documentation and remove bind array
- Updates C# signal documentation and code examples to the new API in 4.0 - Replace all `nameof` usages with the exposed `StringName`
This commit is contained in:
parent
1f22c482e1
commit
92e4b4e888
9 changed files with 48 additions and 50 deletions
|
|
@ -16,7 +16,7 @@
|
|||
[csharp]
|
||||
EditorCommandPalette commandPalette = GetEditorInterface().GetCommandPalette();
|
||||
// ExternalCommand is a function that will be called with the command is executed.
|
||||
Callable commandCallable = new Callable(this, nameof(ExternalCommand));
|
||||
Callable commandCallable = new Callable(this, MethodName.ExternalCommand);
|
||||
commandPalette.AddCommand("command", "test/command", commandCallable)
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue