alai/godot/hud/CoinHUD.gd

9 lines
193 B
GDScript

extends CanvasLayer
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _physics_process(_delta):
if get_tree().paused:
visible = false
else:
visible = true