6 lines
207 B
GDScript
6 lines
207 B
GDScript
extends Label
|
|
|
|
@onready var Shield = $"../../../Shield"
|
|
|
|
func _process(_delta):
|
|
text = "Shield Capacity: {shield} / {max} units".format({"shield":"%0.2f" % Shield.Capacity, "max":Shield.MaxShieldCapacity})
|