mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
e05d5b8813
When exporting a project, resources are often moved, converted or remapped (source import files are gone, text scenes are converted to binary, etc). This new function allows to list a directory and obtain the actual original resource files. Example ```GDScript var resources = ResourceLoader.list_directory("res://images") print(resources) ``` Result will be something like: ``` ["image1.png","image2.png","image3.png"] ``` instead of ``` ["image1.png.import","image2.png.import","image3.png.import"] ``` |
||
---|---|---|
.. | ||
classes | ||
tools | ||
translations | ||
class.xsd | ||
Doxyfile | ||
Makefile |