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

Create Convenient Way to Iterate Over Casted Asset Packs #272

Open
zicklag opened this issue Dec 3, 2023 · 0 comments
Open

Create Convenient Way to Iterate Over Casted Asset Packs #272

zicklag opened this issue Dec 3, 2023 · 0 comments

Comments

@zicklag
Copy link
Member

zicklag commented Dec 3, 2023

Right now it's annoying to loop through all the asset packs, get their root asset handle, cast it to the appropriate type, and then get the asset from the asset server.

We should make a convenient way to access all of the pack assets that cast to a certain type, maybe in a system parameter like we already do with Root<GameMeta>, except it'd be Packs<PackMeta>.

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