12 lines
No EOL
301 B
GDScript
12 lines
No EOL
301 B
GDScript
extends Control
|
|
|
|
func set_text( text ):
|
|
$dialogue_box/bubble_box/text_box/lines_box/text.text = text
|
|
|
|
func add_answer( text ):
|
|
var line_box = $dialogue_box/bubble_box/text_box/lines_box
|
|
|
|
var new_label = Label.new()
|
|
new_label.text = text
|
|
|
|
line_box.add_child( new_label ) |