added working vending machine
This commit is contained in:
12
scripts/Label3D.gd
Normal file
12
scripts/Label3D.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user