level resetting works

This commit is contained in:
Clevertop 2024-08-11 10:43:02 +10:00
parent a1f4eaa2c6
commit d2dfb65d59
4 changed files with 40 additions and 59 deletions

View file

@ -1,20 +1,13 @@
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.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func close_terminal():
terminal_panel.visible = false
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED