7 lines
185 B
GDScript3
Raw Normal View History

2024-02-06 14:51:48 +00:00
extends Slider
2024-02-06 11:03:32 +00:00
func _ready():
set_value_no_signal(Global.environment.adjustment_contrast)
func on_value_changed(new_value: float):
Global.environment.adjustment_contrast = new_value