123456789101112131415161718 |
- extends Label
- class_name FontedLabel
- var font = DynamicFont.new()
- var font_path = "res://fonts/Now FL/Now-SemiBold.otf"
- var font_size = 20
- func _ready():
- var font_data=DynamicFontData.new()
- font_data.font_path = font_path
- font.font_data=font_data
- font.size=font_size
- add_font_override("font",font)
- add_color_override("font_color", ColorN("white"))
|