11 lines
201 B
GDScript
11 lines
201 B
GDScript
extends Control
|
|
|
|
onready var label : RichTextLabel = $RichTextLabel
|
|
|
|
func _ready():
|
|
Signals.connect("update_score",self,"update_score")
|
|
|
|
|
|
func update_score(score: int):
|
|
label.text = String(score)
|
|
|