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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user