1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2025-02-04 12:28:35 +00:00

Added button to go in and out of credits

This commit is contained in:
hpham474
2021-11-22 22:35:28 -06:00
parent f57f6acb9a
commit 50ad9a2539
5 changed files with 42 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
extends Control
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_Back_pressed():
AudioBus.emit_signal("button_clicked")
queue_free()
pass # Replace with function body.