LD46/bgm_slider.gd

6 lines
126 B
GDScript3
Raw Permalink Normal View History

2020-04-20 05:09:48 +09:30
extends HSlider
func _ready():
connect("value_changed", $"/root/Main/bgm", "set_volume")
$"/root/Main/bgm".set_volume(0.5)