extends Control # Called when the node enters the scene tree for the first time. func _ready() -> void: var bgm=Global.get_BGM_volume() %BGM_bar.value=bgm %BGM_slider.value=bgm var effect=Global.get_effect_volume() %effect_bar.value=effect %effect_slider.value=effect pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass func _on_bgm_slider_value_changed(value: float) -> void: %BGM_bar.value=value Global.change_BGM_volume(value) pass # Replace with function body. func _on_effect_slider_value_changed(value: float) -> void: %effect_bar.value=value Global.change_effect_volume(value) pass # Replace with function body. func _on_back_pressed() -> void: get_parent().change_open(false) pass # Replace with function body.