Add methods for sound ambiant & click object
This commit is contained in:
@@ -8,7 +8,6 @@ onready var last_btn = null
|
||||
|
||||
func _ready():
|
||||
_display_hud_menu()
|
||||
_play_ambiant_sound()
|
||||
|
||||
func _display_hud_menu():
|
||||
var counter = 0
|
||||
@@ -21,9 +20,6 @@ func _display_hud_menu():
|
||||
label_id = scene.label_id()
|
||||
counter = +1
|
||||
|
||||
func _play_ambiant_sound():
|
||||
$AmbiantSound.play()
|
||||
|
||||
# Back to main scene
|
||||
func _on_TextureButton_pressed():
|
||||
print("[levels#_on_TextureButton_pressed] quit to menu")
|
||||
|
||||
Reference in New Issue
Block a user