20 lines
446 B
GDScript
20 lines
446 B
GDScript
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
|