How to make a prefab a parent to other prefabs?
So I'm taking a course on unity and the guy just drags and drops a gameObject
with children to the project folder and it becomes a parent prefab with children.
When I do the same it just becomes a prefab with no children. How do I make the prefab to have children?
Thanks!
Answer by dcmrobin · 3 days ago
I think you need to drag the three waypoints into the Path prefab when you are actually in the prefab editing state. What that means, is this: double click into the Path prefab. Then you are in the prefab editing state. In the Hierarchy, you will see just one gameObject: "Path". Then locate the three waypoint prefabs, and drag them on top of the point gameObject, and now you should have the three waypoints as children of the Point prefab. I hope this helps!
Your answer
Follow this Question
Related Questions
Unity overwrites prefab values in runtime 0 Answers
Prefabs not turning blue and losing connection 6 Answers
Problems with instantiating 1 Answer
PrefabUtility.RevertPrefabInstance() not working 2 Answers
Using Prefab Information in a Class? 0 Answers