You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Updated gdscript (markdown)
@@ -654,7 +654,7 @@ func _button_pressed(which):
|
||||
print("Button was pressed: ",which.get_name())
|
||||
|
||||
func _ready():
|
||||
for b in get_node("buttons").get_children():
|
||||
for b in get_node("buttons").get_children():
|
||||
b.connect("pressed",self,"_button_pressed",[b])
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user