Search Unity

  1. Going to #UniteBerlin? Bring a buddy & get 25% off the 2nd ticket! More info here.
    Dismiss Notice
  2. Famed game designer and creator of The Sims, SimCIty, and Spore is looking for a 3D artist to join their team. Join the challenge.
    Dismiss Notice
  3. Unity 2017.4 has arrived! Read about it here.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. We've opened a new World Building sub-forum to faciltate all your world building discussions! Drop in and ask any ProBuilder, ProGrids, or PolyBrush questions.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

What's a nested prefab?.

Discussion in 'General Discussion' started by SVGK, Mar 17, 2014.

  1. SVGK

    SVGK

    Joined:
    Jan 25, 2014
    Posts:
    99
    i see people ask about when it's coming, but don't know what it is, or why it would be useful when/if unity supports it.
     
  2. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    6,781
    Currently if you place a prefab inside another prefab, the nested prefab is no longer linked to original.

    There are tons of practical uses, a good example would be UI. Say you create a button and make it prefab. Now you create a bunch of menus/windows/hud/etc that use that button. If you prefab those elements, you would have to manually update that button in each one. If you could nested prefabs, you could just update the original prefab and the rest will automatically have those changes.
     
    zenGarden likes this.
  3. Stephan-B

    Stephan-B

    Unity Technologies

    Joined:
    Feb 23, 2011
    Posts:
    2,269
    azurstreams likes this.
  4. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,271
    A baby flappy bird prefab in it's nest.
     
  5. squared55

    squared55

    Joined:
    Aug 28, 2012
    Posts:
    1,751
    Let's say you have multiple prefabed characters, each with the same item as a child of the character. Under the current system you would have to update each character's prefab individually if you wanted to change the item's stats. With nested prefabs you could bury an item prefab in the character's hierarchy and then only have to update the stats once to apply it to all characters.
     
  6. PrefabEvolution

    PrefabEvolution

    Joined:
    Mar 27, 2014
    Posts:
    225
  7. hackintosh12945

    hackintosh12945

    Joined:
    Apr 3, 2017
    Posts:
    3
    Four years later....finally it is here.
     
    AndersMalmgren likes this.
  8. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    1,575
    We have a saying here in Sweden, Dont say hi (To your friend on the other side of the road) until you have crossed the road
     
    zombiegorilla and chingwa like this.
  9. FMark92

    FMark92

    Joined:
    May 18, 2017
    Posts:
    824
    Please explain. Also are the parentheses silent?
     
  10. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    1,575
    The parenthesis is just to explain the idiom :D So it basicly goes, "Dont say hello before you have crossed the road" I guess you can get runover or something on the way over :D
     
    FMark92 and Lu4e like this.
  11. FMark92

    FMark92

    Joined:
    May 18, 2017
    Posts:
    824
    Oooh, I see.
    We have something similar, I suppose.
    "Don't judge a day before it's over."
     
    AndersMalmgren likes this.
  12. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    1,575
    :) I also found this one from the english language, don't count your chickens before they're hatched :D
    Or this one, "Dont let your design rely on nested prefabs before UT gets their ass out" :D
     
    FMark92 likes this.
  13. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    145
    The wait is over!
     
  14. FMark92

    FMark92

    Joined:
    May 18, 2017
    Posts:
    824
    You wish. Autumn 2018.
     
  15. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    1,575
    We have another saying, "Sit down in the boat". It's used when people are over hyped for something

    edit: Its hard not being over hyped, I see lots of workflows that will be so much easier with this
     
    Last edited: Apr 17, 2018 at 8:59 AM
  16. 3agle

    3agle

    Joined:
    Jul 9, 2012
    Posts:
    508
    Is there a source on the nested prefab news?
     
  17. FMark92

    FMark92

    Joined:
    May 18, 2017
    Posts:
    824
     
    Rodolfo-Rubens and 3agle like this.
  18. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,049
    This Prefab Mode is also very nice!!