7 lines
185 B
GDScript

extends Slider
func _ready():
set_value_no_signal(Global.environment.adjustment_contrast)
func on_value_changed(new_value: float):
Global.environment.adjustment_contrast = new_value