- Home /
resources.load question
is it possible (it seems not) to load all assets in a folder without loading any assets in a subfolder?
Its not vital but i think its cleaner and more organized for my project
for example
lets say I have a BaseCarModels folder
then inside that Folder I have
BaseTruckVariants folder
and
BaseVanVariants
now that makes sense to me, i have a folder with my base van and truck model in it and the specific variant models are in folders inside however if i want to get the base models I can through resources load because
dir = "Resources/BaseCarModels";
resources.loadall(dir);
will give me all the variant models as well.
I can actually fix this of course, I can place the variant models in the same level so they arent under it or i can "reverse" organize
I can have
Variants folder
and
BaseModels as a folder inside it its just that this reverse nesting strikes me as ugly and it conflicts with how the rest of the folders are arranged so i dont like it.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
itween move to do not end(even it is) 0 Answers
Fps Aiming Script help 2 Answers