projektluzid/in_game_ui_leftpanel.gd
2025-04-14 02:27:59 +02:00

10 lines
229 B
GDScript

extends VBoxContainer
func _ready():
var button = get_node("Button2")
button.pressed.connect(_button_pressed)
func _button_pressed():
var button = get_node("Button2")
button.text = "You pressed me!"
print("Hello world!")