8 lines
189 B
GDScript3
8 lines
189 B
GDScript3
|
extends Range
|
||
|
|
||
|
func _ready():
|
||
|
set_value_no_signal(Global.environment.adjustment_brightness)
|
||
|
|
||
|
func on_value_changed(new_value: float):
|
||
|
Global.environment.adjustment_brightness = new_value
|