test-client-godot/gui_scene/GUI/login/register_menu.gd

17 lines
391 B
GDScript

extends Control
signal sound_button_toggled( button_pressed )
signal cancel_button_pressed
signal license_button_pressed
func _on_sound_button_toggled( button_pressed ):
emit_signal( "sound_button_toggled", button_pressed )
func _on_cancel_button_pressed():
emit_signal( "cancel_button_pressed" )
func _on_license_button_pressed():
emit_signal( "license_button_pressed" )