mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-01 19:19:31 +02:00
toggle music button to scene
This commit is contained in:
parent
678b42c9b7
commit
e8895f8137
5 changed files with 37 additions and 19 deletions
scenes
17
scenes/music_button.tscn
Normal file
17
scenes/music_button.tscn
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue