test-client-godot/scenes/GUI/Home/Home.gd

15 lines
265 B
GDScript

extends MarginContainer
signal play_pressed
signal setting_pressed
func _on_PlayButton_pressed():
emit_signal("play_pressed" )
func _on_SettingsButton_pressed():
emit_signal("setting_pressed" )
func _on_QuitButton_pressed():
get_tree().quit()