String to prefab

Hi there,

So I have an online sql database for all my items which I retrieve in-game with www.
Every item has an ID, name, price and a prefab name.

Now I want to target an item based on the prefab name which is a string.

How can I do this?

Something like:

var prefabString : String = “ChainHelmet1”;
Instantiate(prefabString, Vector3(0, 0, 0), Quaternion.identity);

You can use Resources.Load to access them by name.