I have a script in Godot that I am turning into a singleton. I have trouble when I try to run the project from its base, as the singleton cannot find the nodes needed.
Is there a way I can call these get_node functions from root or something similar, instead of what I am currently doing below?
onready var NameVar = get_node('Panel/HBoxContainer/RootVboxPlayerPreferences/Label/VBoxPlayerPreferances/DisplayNameLineEdit')