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

Use AssetPath for resources instead of PathBuf #50

Open
picoHz opened this issue Jul 15, 2024 · 0 comments
Open

Use AssetPath for resources instead of PathBuf #50

picoHz opened this issue Jul 15, 2024 · 0 comments

Comments

@picoHz
Copy link

picoHz commented Jul 15, 2024

Currently, the resource field in Data takes Vec<PathBuf>, which means the resources are only loadable from the default asset source. Using Vec<AssetPath> would be better for supporting flexible asset loading scenarios.

resources: Vec<PathBuf>,

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

No branches or pull requests

1 participant