I want to be able to use a generated string to identify which GameObject the supplied prefab is assigned to in a method. The GameObjects are labelled Prefab1, Prefab2, Prefab3, etc. I have a couple lines that create a string that says Prefab(ID) dynamically, but I don't know how to convert that into a GameObject. Any thoughts?
↧