RetroDECK/tools/configurator/scripts/SettingsTab.gd

16 lines
351 B
GDScript3
Raw Normal View History

2024-09-10 14:33:58 +00:00
extends Control
func _ready():
_get_nodes()
_connect_signals()
func _connect_signals() -> void:
2024-09-10 14:54:29 +00:00
%sound_button.pressed.connect(sound_off)
2024-09-13 10:07:59 +00:00
%update_notification_button.pressed.connect(class_functions.run_function.bind(%update_notification_button))
2024-09-10 14:33:58 +00:00
func _get_nodes() -> void:
pass
2024-09-10 14:54:29 +00:00
func sound_off() -> void:
class_functions.sound_effects = false