Hi there, so reading through the docs looking for a way to add a dynamic list a custom component I found this (Quoting from docs)
info
Currently, storing dynamically sized objects or lists isn’t supported. We’re actively exploring this feature and would love to hear about your specific use cases.
So I’m here talking about my use case.
I am making AR games and usually I have a spawner that instantiates different prefabs chosen randomly, for example a game where objects fall from the sky and you have “good” objects , “bad” objects, power ups, etc.
In this example having a list on the spawner where I could put all the prefabs it can spawn and then spawn randomly from that list would be awesome (assuming equal chance of spawning)
Currently I have to add each prefab on its own schema value, and then pick randomly from the option (be it building a list on my own or smthing). I know there are ways to go around the problem, for example as an alternative having one prefab with all the options as children and on spawn pick one children randomly and deleting the rest… But juggling with these options is just suboptimal (as here you spawn everything and delete adding to the CPU load)
So yeah this is my use case for schema lists. I know this functionality would put 8thwall closer to other traditional game engines where this is allowed (unity3d, godot, unreal to name a few)