project_teddy/scripts/settings.gd

20 lines
283 B
GDScript

extends Control
func _ready():
pass
func _on_h_slider_ready():
var slider = $h_slider
slider.value = Global.mouseSensitivity
func _process(delta):
pass
func _on_h_slider_value_changed(value):
Global.mouseSensitivity = value
func _on_button_pressed():
self.queue_free()