Possible to load using partial address?

Is it possible to somehow search for assets using a partial address / wildcards?

E.g. Lets say I have a group with a bunch of addressable names:
Characters/Hero/Clothes/YellowPants
Characters/Hero/Clothes/YellowShirt
Characters/Hero/Clothes/GreenPants
Characters/Hero/Clothes/GreenShirt
Characters/Hero/Clothes/GreenHat

Now I want to LoadAssetAsync all assets beginning with the address “Characters/Hero/Clothes/Green”

Expected assets loaded would be:
Characters/Hero/Clothes/GreenPants
Characters/Hero/Clothes/GreenShirt
Characters/Hero/Clothes/GreenHat

Is something like this possible?
It would be even better if you could use wildcards to make more advanced search queries.

While at it, is there any way of making the address case-insensitive?

Labels are supposed to cover this kind of functionality. You would make a green label and load that.
One approach would be to setup an asset post processor script to automatically address and label the things you are interested in based on their path.

1 Like

Post processing scripts sounds interesting, might look in to that, thanks :slight_smile: