Created Settings Panel to be displayed
Created settings panel for UI interface.
This commit is contained in:
parent
5455ad5071
commit
785a3922a7
3 changed files with 102 additions and 0 deletions
12
UI/settings_panel.gd
Normal file
12
UI/settings_panel.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends PanelContainer
|
||||
|
||||
@onready var close_panel: Button = %ClosePanel
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
close_panel.pressed.connect(_handle_close_panel)
|
||||
pass # Replace with function body.
|
||||
|
||||
func _handle_close_panel() -> void:
|
||||
Globals.enable_mouse_passthrough()
|
||||
queue_free()
|
||||
Loading…
Add table
Add a link
Reference in a new issue