mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (fc1c25d29)
This commit is contained in:
@@ -28,11 +28,11 @@ To get cancel action, you can use:
|
||||
|
||||
.. code-tab:: gdscript
|
||||
|
||||
get_cancel().connect("pressed", self, "cancelled")
|
||||
get_cancel_button().pressed.connect(self.cancelled)
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
GetCancel().Connect("pressed", this, nameof(Cancelled));
|
||||
GetCancelButton().Pressed += Cancelled;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user