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