10 lines
212 B
GDScript
10 lines
212 B
GDScript
extends Area2D
|
|
|
|
@export var text : String
|
|
|
|
@onready var Dialogue : Control = $Dialogue
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
Dialogue.DialogueLabel.text = text
|