- Home /
Couldn't attach any components to 3D model Prefab
Hi,
I'm trying to attach script to my imported 3d object prefab, but I couldn't.
Anything from AssetStore are disabled to be attached component. For example, I downloaded Soldier Character Pack, But I couldn't attach...
Do you know how to attach component (lke Script or Material etc...) or why I can't attach?
Thanks for any advise.
Answer by SkaredCreations · Nov 23, 2011 at 09:46 AM
What does it mean that you cannot attach components?
By the way, in your example "Soldier Character Pack" doesn't include prefabs but only two models, so you have to drag them in a scene on Hierarchy, attach the components there and finally create a new Prefab in the Project panel dragging your just customized model from the Hierarchy panel
Thanks for great answer, It could be straight answer to my question.
What does it mean that you cannot attach components?
I confused model asset with prefabs, in another words, I think model as a paticular type of prefab...
Thank you anyway for saving me from hell :)
No problem dude, just please vote +1 on the answer to set it as accepted and may be useful to others like you :)
It is actually a particular type of a prefab ;) See the PrefabType for more information.
You can do changes to a model-prefab but only with an AssetPostProcessor during import time. Unity have to reimport the asset if the actual file has changed. All manual changes would be lost.
The usual way is to create a new prefab like @ZioRed said ;). That way only the $$anonymous$$esh is linked.
Your answer
Follow this Question
Related Questions
Adding a new mesh to a prefab from it's blend file 0 Answers
It is possible to export multiple Unity objects into one FBX or OBJ file? 0 Answers
Can't create prefab from blender model 1 Answer
How do I get Unity to update all objects from an .FBX model update? 0 Answers
[Editor]How can I get components in non-instantiated prefab? 1 Answer