How to read all resources under the same folder in the exported game?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By airs1991

By querying the API, I found that the DirAccess class can read the folder structure and recursively read the files one by one.
But after exporting, the folder structure changed and the original file became a PCK package.
So the DirAccess class becomes invalid.