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

18 lines
354 B
GDScript3
Raw Normal View History

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