toggle music button to scene

This commit is contained in:
bleeptrack 2021-02-11 10:46:08 +01:00
parent 678b42c9b7
commit e8895f8137
5 changed files with 37 additions and 19 deletions

17
scenes/music_button.tscn Normal file
View file

@ -0,0 +1,17 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scenes/music_button.gd" type="Script" id=1]
[node name="Button3" type="Button"]
margin_left = 241.005
margin_top = 58.856
margin_right = 387.005
margin_bottom = 97.856
focus_mode = 0
enabled_focus_mode = 0
text = "Toggle music"
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="." to="." method="toggle_music"]