10 lines
193 B
GDScript3
10 lines
193 B
GDScript3
|
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)
|