Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | wrymn |
I am trying to list all files and directories under project folder.
But when using Directory.get_next(), it only returns name of file or dir
Is there a way to to get paths, at least relative to res:// folder?
What I want to do is iterate over every asset under folder and load it via ResourceLoader.load()
Example to load all files under assets folder
res://assets/texture.png
res://assets/scene.tscn
res://assets/resource.tres