|
Hi. I need to instantiate a game object from a prefab without the original prefab to clone. I want something that goes like: This is supposed to go in runtime. Is this possible? I've heard of asset loading (i.e. using Resources.Load() or URLs) but I don't want to use any of those. Thanks in advance! :D
(comments are locked)
|
|
Without an existing prefab, or without a prefab in the scene? The latter is easily achieved by adding a GameObject variable to the script and dragging the prefab in there. Yeah, I realized that I had to make at least a pointer reference to the prefab. Thanks! :D
Jul 31 '12 at 06:25 AM
brain56
(comments are locked)
|
