challenge-editor/scene/ability_to_card_need.gd
2024-10-09 20:34:18 +08:00

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)