You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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:
@@ -45,7 +45,7 @@
|
||||
[csharp]
|
||||
public override void _Ready()
|
||||
{
|
||||
var monitorValue = new Callable(this, nameof(GetMonitorValue));
|
||||
var monitorValue = new Callable(this, MethodName.GetMonitorValue);
|
||||
|
||||
// Adds monitor with name "MyName" to category "MyCategory".
|
||||
Performance.AddCustomMonitor("MyCategory/MyMonitor", monitorValue);
|
||||
|
||||
Reference in New Issue
Block a user