mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
11 lines
265 B
GDScript3
11 lines
265 B
GDScript3
|
extends TextEdit
|
||
|
|
||
|
# Called when the node enters the scene tree for the first time.
|
||
|
func _ready():
|
||
|
MessageBus.connect("print_console", self, "_on_Debug_print_text")
|
||
|
pass # Replace with function body.
|
||
|
|
||
|
|
||
|
func _on_Debug_print_text(text):
|
||
|
insert_text_at_cursor(text)
|