10 lines
229 B
GDScript
Executable file
10 lines
229 B
GDScript
Executable file
extends Node2D
|
|
onready var hover_sound = $"Hover"
|
|
|
|
|
|
func _on_RestartButton_pressed() -> void:
|
|
assert(get_tree().change_scene("res://Scenes/menu.tscn") == OK)
|
|
|
|
|
|
func _on_RestartButton_mouse_entered() -> void:
|
|
hover_sound.play()
|