![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | gp1 |
Hello,
I have a test project with one scene, one Node2D with a script attached to it and a Label.
This “ProjectSettings.globalize_path(“res://”)” returns nothing when the project is exported to a mac or windows 7 or android S9 but works fine when project run in the editor.
Can “ProjectSettings.globalize_path” be used when the project is exported?
The script:
extends Node2D
func _ready():
$lbl.text = ProjectSettings.globalize_path("res://")