prefab designing

Hi!

I have some practical problems with prefabs in Unity. Lets say I have added a prefab, which should not be present in the scene, but only in the project window.
Now I want to edit the prefab by adding a particle emittor.

As far as I know, I need to drag and drop the prefab onto the game view,
add a particle emittor there, the prefab connection gets lost, turn it into a prefab again and delete it from the game view.

Isn’t there a better way? Why doesnt the prefab have a hierarchy inside the project view, so that I can add a particle emittor or whatever without involving the game view all together?

You don’t have to create a new prefab and delete the old one after editing the instantiated object. Just select the root object and then click on Upload to Prefab. (The object still remembers the prefab even though it the the prefab link is broken.)

As to why this can’t be done in the project view is an implementation issue. Not sure exactly why. Most certainly a thing I would add on the wish list of unity features.

You actually can modify values and add components right in the prefab in the project view.

Just select it and hit Component->ParticleEmitter.

But the way keli pointed out with Upload Changes to Prefab is usually better because you actually get to see what you are changing in the scene view.

Thanks! I feel stupid to ask, but I can’t find this ‘upload’ button/option anywhere :sweat_smile:

Game Object → Upload To Prefab

Doesn’t it perform the same action if you just drag your changed object from the hierarchy on top of the Prefab in the project pane? That’s what I’ve been doing. I didn’t even know about the upload to Prefab option. :slight_smile:

It performs the same operation but it is quite handy, because you don’t need to find the prefab in the project view.