OmnichordGodot/scripts/LoopController.gd

8 lines
125 B
GDScript3
Raw Normal View History

2024-06-26 23:49:24 -03:00
extends Node
func _ready():
self.toggled.connect(on_toggle)
func on_toggle(state: bool):
Global.loop_changed.emit(state)