hadean-godot/Scripts/Calendar.gd

9 lines
140 B
GDScript
Raw Permalink Normal View History

2025-10-10 03:01:08 -04:00
extends Label
func _ready():
Clock.day_passed.connect(_update_text)
_update_text()
func _update_text():
text = Clock.get_date_string()