9 lines
193 B
GDScript
9 lines
193 B
GDScript
extends RichTextLabel
|
|
|
|
|
|
func _ready() -> void:
|
|
MatchChannel.connect("on_match_update", on_match_update)
|
|
|
|
|
|
func on_match_update(msg: CurrentUnixTimeMessage) -> void:
|
|
self.text = str(msg.time)
|