- Home /
making 3 different gameobjects as 1 prefab.
is that, a prefab can contain only one gameobjects or else we can make more than one gameobjects into a single prefab. am doing a space shooter game where i want to have a cluste of enemy flights coming in. i tried to connect three gameobjects into a single prefab, but i couldn't. is there any way to create the enemy cluster prefab or it is that, it can be done only through coding.
I'm not sure to understand really what you try do to. $$anonymous$$aybe create an empty game object, put your 3 game objects as sons of this empty game object, and create a prefab with the parent game object (which is no more empty :) )
Answer by haim96 · Feb 06, 2014 at 01:05 PM
you can create empty game object, then make your three gameobject as child of the new empty gameobject (by dragging them to the game object you created). then drag the parent gameobject into new empty prefab.
edit: which exactly what already told you to do in the comment but i didn't saw it... :)