citylimits/scripts/debug_console.gd
Tony Bark 59ea5dd6f0 Advisor dialogs
- WIP debug/cheat console
- Rewrote README
- Updated Zack's avatar with something made by me
2021-05-20 18:17:44 -04:00

14 lines
259 B
GDScript

extends Control
onready var input_box = $Input
onready var output_box = $Output
func _ready():
input_box.grab_focus()
func output_text(text):
output_box.text = text + "\n"
func _on_Input_text_entered(new_text):
input_box.clear()
output_text(new_text)