OmnichordGodot/scripts/NoteVolume.gd

8 lines
135 B
GDScript

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