Files
fps_project_1/scripts/Label3D.gd
2024-07-17 17:05:46 -05:00

13 lines
285 B
GDScript

extends Label3D
@onready var vendingmachine = $".."
# Called when the node enters the scene tree for the first time.
func _ready():
text = "$" + str(vendingmachine.item_price)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass