7 lines
155 B
GDScript3
7 lines
155 B
GDScript3
|
class_name Chat
|
||
|
extends VBoxContainer
|
||
|
|
||
|
signal message_submitted(message: String)
|
||
|
|
||
|
func add_message(message: String):
|
||
|
%Messages.append_text(message + "\n")
|