1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-29 10:54:18 +00:00
swear-jar/score/scoreboard.gd

15 lines
242 B
GDScript3
Raw Normal View History

extends Control
class_name ScoreBoard
@export var score: int = 0
func _ready():
$Label.text = "Score: " + str(score)
func _process(delta):
pass
func _on_evaluator_score_changed(total_value):
$Label.text = "Score: " + str(total_value)