9 lines
142 B
GDScript
9 lines
142 B
GDScript
extends Spatial
|
|
|
|
export var title: String
|
|
|
|
func _ready():
|
|
set_title(title)
|
|
|
|
func set_title(title: String):
|
|
$LabelViewport/Label.text = title |