13 lines
285 B
GDScript
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
|