OmnichordGodot/scripts/RhythmVolume.gd

8 lines
137 B
GDScript

extends Node
func _ready():
self.value_changed.connect(slider_change)
func slider_change(vol: float):
Global.rhythm_volume.emit(vol)