Improved menu system

This commit is contained in:
Sch1nken 2024-03-23 17:49:33 +01:00
parent da78e7f287
commit c95b8186ab
12 changed files with 181 additions and 111 deletions

View file

@ -18,7 +18,7 @@ func show_panel() -> void:
# Called when the node enters the scene tree for the first time.
func _ready():
mat = panel_container.material
mat = panel_container.material.duplicate()
pass # Replace with function body.
func tween_blur(val: float) -> void:
@ -35,6 +35,7 @@ func hide_panel() -> void:
func _on_panel_hidden() -> void:
visible = false
queue_free()
func _on_cancel_pressed():
hide_panel()