9 lines
200 B
GDScript
9 lines
200 B
GDScript
extends Spatial
|
|
|
|
export var item_name : String = ""
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
assert(item_name != "")
|
|
$ItemLabel.text = "Item: %s" % item_name
|