Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问可以获取某个路径下所有的文件目录吗? #405

Open
15951836388 opened this issue Dec 13, 2024 · 3 comments
Open

请问可以获取某个路径下所有的文件目录吗? #405

15951836388 opened this issue Dec 13, 2024 · 3 comments
Labels
question Further information is requested

Comments

@15951836388
Copy link

15951836388 commented Dec 13, 2024

yooasset获取某个路径下所有的资源目录吗?

比如做批量读取某个文件夹内所有资源文件

@gmhevinci gmhevinci added the question Further information is requested label Dec 16, 2024
@gmhevinci
Copy link
Collaborator

给该目录下独立的收集器,然后打上TAG。通过tag来获取所有资源信息,然后加载。

@15951836388
Copy link
Author

tag还是不太方便,建议可以支持一下路径获取资源列表,这个需求还是很常见的

@gmhevinci
Copy link
Collaborator

下个版本 会增加一个获取所有主资源AssetInfo的方法,逻辑层可以维护着这个列表,去做查询。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants