[API Request] Expose Assets.currentAssetMapping.assetList as IReadOnlyList<Asset>. #4151
DanielWillett
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it's pretty inefficient and inconvenient to loop through assets, a copy has to be made using
Assets.find<>()
or by passing a list, either way could be quite a bit easier by exposing a readonly list property so we can easily use Linq to find assets without having to go through all the trouble of managing a second list, etc.Also shouldn't really have to worry about future changes since it should be fairly easy to port over to any asset system.
Beta Was this translation helpful? Give feedback.
All reactions