OmnichordGodot/scripts/ChordVolume.gd

8 lines
136 B
GDScript

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