Create a class variable that has the parent class of those class you want to spawn. You have to specify somewhere what class corresponds to that string. Like a DataTable or an array using a struct with string and class values.
I already watched your tutorial and found it very useful, but I realize that is a need to fill the data table with all variables (I mean, I need to know previously what meshes/classes I have). My problem is I just send a update (patch) with new articles to my application, but I don’t know previously what articles I’m going to send, and because of business rules, I have no time to fill the data tabla with all the names. Is there a way to fill the data table with all the clases of my project? This would solved definitely my problem.
Wow, I really appreciate your time for doing this.
Hi, Based on what I know. There 2 way to fill your data sheet with all your item. 1. Like I did in the editor. or 2. use a Excell sheet and import it in your project as data sheet. But yes you still have to write it down all the item one by one.But for now like I said. based on what I know. may be someone else could have a better option.