Hey,
I have a list of modular GameObjects that I want the user to user to be able to select from and various scripts to spawn. Currently I have it set up so every GameObject is assigned to a variable in the inspector. This results is a large and painful list of variables under the script.
Is there is a way of searching through all your assets for a specific tag and then searching through that list/array for something even more specific, like the Name of the object?
This would save me a lot of time, and make everything more future proof. There must be some sort of trick for searching though a group of assets that are not in the scene, rather than assigning them all individually in the inspector.
Also answers in Javascript would be preferred
Many thanks,
Magnus