Improved menu system
This commit is contained in:
parent
da78e7f287
commit
c95b8186ab
12 changed files with 181 additions and 111 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue