If you are like me, and you need Nested Prefabs, let's make a public resonance, let's post here the message

#weNeedNestedPrefabs

Share it everywhere for joining people to the hashtag!



I heart many times that Unity doesn't sure about the feature, about how it must look like.

There is what we want:



Required (Nesting):

Example: [Prefab "A" contains prefab "B" inside]

prefab can contain another prefab inside, like a link to another prefab



Behaviour:

- user changes prefab "B" ---> these changes come to prefab "A" as well because "A" has just a link to prefab "B"



It gives us memory benefits because prefab "A" became lightweight

prefab can override fields of nested prefabs



Behaviour:

- user changes prefab "B" inside prefab "A" ---> prefab "A" override these changes, even the same field will be changed in prefab "B" prefab "A" still override the field. Until user deletes the overriding.

Optional (Inheritance):

Example: [Prefabs "Enemy1", "Enemy2", "Enemy3", "EnemyBase" all of them have field "shoutRange"]

changing fields in "base" prefabs ---> applies changes to all children prefabs



Behaviour:

change shoutRange in "EnemyBase" prefab it automatically changes shoutRange field in all children prefabs "Enemy1", "Enemy2", "Enemy3". Still, child prefab doesn't override the field.

----------------------------------------------------------------------

Update 19-Jan-2018