Removed duplicated function in button hooking GDScript example in
@@ -290,9 +290,6 @@ The final script should look like this:
func _on_Button_pressed():
get_node("Label").text = "HELLO!"
- func _on_button_pressed():
- get_node("Label").text = "HELLO!"
-
.. code-tab:: csharp
using Godot;