Search Unity

Removing Objects from a Prefab?

Discussion in 'Editor & General Support' started by StarManta, Oct 25, 2006.

  1. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    How do you remove an object that has been added to a prefab? cmd-delete does nothing, and I can't find any buttons/menus to that effect.
     
  2. pete

    pete

    Joined:
    Jul 21, 2005
    Posts:
    1,647
    try deleting from the menu? seems like sometimes i have to do that.
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    If you want to delete an entire game object. You drag the prefab into the scene. Modify it to your liking. (This way you can also see visually what you are doing)
    Then use Game Object -> Upload to Prefab

    If you only want to remove a component, you can do that in the context menu of the inspector (in the title for a component).
     
    matthewbarlow98 likes this.
  4. Oleksii_Stetsenko

    Oleksii_Stetsenko

    Joined:
    Nov 1, 2021
    Posts:
    2
    Right Click on Prefab in Hierarchy -> Unpack. Then you can modify it.
     
    snkzlky and Ayaz202 like this.
  5. snkzlky

    snkzlky

    Joined:
    Sep 14, 2021
    Posts:
    3
    it works, thanks !