1 2 3 4 5 6
extends Spatial export(String) var text # Called when the node enters the scene tree for the first time. func _ready(): get_node("Viewport/Label").text = text