wellbeingapp/godot/start_menu.gd

17 lines
404 B
GDScript3

extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
onready var user_info = get_node("/root/UserValues")
# Called when the node enters the scene tree for the first time.
func _ready():
$welcome_title.text = "Good morning " + user_info.user_first_name + "!"
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass