- Home /
Question by
Gordon 2 · Feb 04, 2011 at 09:37 AM ·
instantiateprefabreference
Reference handle on a prefab?
Hi all.
Im instantiating a prefab, but need to reference to a specific one of the prefabs clones later during the game. is there any method that I could have a reference handle on the prefab? Thanx Gordon
Comment
Answer by Jesse Anders · Feb 04, 2011 at 10:16 AM
If I'm understanding your question correctly, the return value of Instantiate() may be the solution you're looking for. (And of course there's also the usual methods of acquiring references to game objects, such as searching by name or tag, etc.)
Your answer
![](https://koobas.hobune.stream/wayback/20220613102757im_/https://answers.unity.com/themes/thub/images/avi.jpg)