Files
MoonLaunch/timelabel.gd
T

17 lines
278 B
GDScript

extends Label
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
var time = 0
func _ready():
# Called every time the node is added to the scene.
# Initialization here
set_process(true)
func _process(delta):
time += delta
set_text(str(time))