Godot-TextEditor/addons/text_editor/TE_Console.gd

18 lines
276 B
GDScript3
Raw Normal View History

2021-10-18 21:29:57 +02:00
tool
2021-10-18 21:20:19 +02:00
extends "res://addons/text_editor/TE_RichTextLabel.gd"
2021-11-27 11:35:18 +01:00
func _ready():
clear()
2021-10-18 21:20:19 +02:00
func msg(msg):
append_bbcode(str(msg))
newline()
func err(err):
append_bbcode(clr(err, Color.tomato))
newline()
func info(info):
append_bbcode(clr(info, Color.aquamarine))
newline()