GodotProjects/Sprout/addons/dialogic/Editor/Events/Fields/Label.gd
2023-01-03 16:54:53 -07:00

13 lines
262 B
GDScript

@tool
extends Control
@export var text: String = "Hello World"
# Called when the node enters the scene tree for the first time.
func _ready():
$Label.text = text
#$Label.text = DTS.translate(text)
$Label.set('custom_colors/font_color', Color("#7b7b7b"))