mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix C# connect signal for 3.x (#5865)
This commit is contained in:
@@ -264,7 +264,7 @@ followed by ``set_bottom_editor()`` to position it below the name.
|
||||
AddFocusable(_propertyControl);
|
||||
// Setup the initial state and connect to the signal to track changes.
|
||||
RefreshControlText();
|
||||
_propertyControl.Pressed += OnButtonPressed;
|
||||
_propertyControl.Connect("pressed", this, nameof(OnButtonPressed));
|
||||
}
|
||||
|
||||
private void OnButtonPressed()
|
||||
|
||||
Reference in New Issue
Block a user