1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-22 15:54:20 +00:00
pineapple-surf/menu/Menu.gd

14 lines
210 B
GDScript3
Raw Normal View History

2023-01-07 11:03:21 +00:00
extends Control
signal play_pressed()
func play():
print("Play button was pressed.")
emit_signal("play_pressed")
2023-01-09 14:15:59 +00:00
func _on_text_edit_text_changed():
Singletons.username = $Content/Inputs/NameInput.text