Hello,
I need to create objects dynamically via information in a database. We are using a plethora of objects so it is difficult to hard-code these objects. Is there a way to Instantiate an object based on its name in the project assets window vs just using a variable to hold the prefab?
ie:
Not: var prefab : Transform;
But this: var name = database.information;
Instantiate(name,position,rotation);