10 lines
175 B
GDScript3
10 lines
175 B
GDScript3
|
extends Node2D
|
||
|
|
||
|
export var text := "This is a sample text"
|
||
|
|
||
|
func _ready() -> void:
|
||
|
$CanvasLayer/Control/TextureRect/RichTextLabel.text = text
|
||
|
|
||
|
func dismiss():
|
||
|
queue_free()
|