7 lines
147 B
GDScript
7 lines
147 B
GDScript
extends TextureRect
|
|
|
|
func set_text(str:String):
|
|
$Label.text=str
|
|
func set_color(color:Color):
|
|
$Label.add_theme_color_override("font_color",color)
|