Question by
encryptedfeelings · Jan 18, 2017 at 06:02 PM ·
assetsmodelsorganizationstructure
Should I create prefabs for each model?
Hello, I'm currently working on a large project that will have lots of models. Since every model will have at least one component (Collider) and material, should I create prefabs for each model? What do you think about structure below?
- Models
- Category1
xmodel
- Category2
ymodel
- Category1
Prefabs
- Category1
xmodel
Category2
ymodel
- Category1
Comment
Answer by Creeper_Math · Jan 18, 2017 at 06:54 PM
It CAN (although will take a bit of complex coding, and probably not advised) make a SINGLE prefab and just have each model a child of that prefab, and when you want to call the prefab just use the prefab reference and GetChild(int Index);
Otherwise my other answer would be to make a separate prefab for each model :P
Your answer
![](https://koobas.hobune.stream/wayback/20220612105106im_/https://answers.unity.com/themes/thub/images/avi.jpg)