Nesting Prefabs #142
-
From the readme: I looked through the examples, but could not find an example of this. How do I nest a prefab into another? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Probably @rewin123 can explain this better, but I have added an issue to address this #144 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the question! Prefabs can contain other prefabs inside them, defined by the path specified in the PrefabLoader component. The picture is an example of how this works, I created an empty prefab in the editor, added one entity with the PrefabLoader component and specified the path to an existing saved prefab. I will add example in 0.4 version |
Beta Was this translation helpful? Give feedback.
Thanks for the question!
Prefabs can contain other prefabs inside them, defined by the path specified in the PrefabLoader component. The picture is an example of how this works, I created an empty prefab in the editor, added one entity with the PrefabLoader component and specified the path to an existing saved prefab.
I will add example in 0.4 version