This commit is contained in:
Clevertop 2024-08-10 17:20:39 +10:00
parent fada7c657b
commit 685d9642dc
3 changed files with 8 additions and 1 deletions

View file

@ -3,8 +3,10 @@ extends Control
@export_group("Node References")
@export var terminal_panel : Control
# Called when the node enters the scene tree for the first time.
func _ready():
terminal_panel.visible = false
pass # Replace with function body.
@ -12,6 +14,7 @@ func _ready():
func _process(delta):
pass
func close_terminal():
terminal_panel.visible = false
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED