Search Unity

[FREE][OpenSource] Prefab in Prefab for Unity4.x

Discussion in 'Assets and Asset Store' started by kyubuns, May 5, 2014.

  1. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
    hello.
    I made Prefab in Prefab ( Nested Prefab ) for Unity4

    I'm waiting this feature!
    http://feedback.unity3d.com/suggestions/editor-nested-prefabs

    But, I can't wait, I try to make it myself.
    http://github.com/kyubuns/prefab_in_prefab

    How to use
    Copy Assets/PrefabInPrefab directory to your project.
    ONLY.

    https://www.youtube.com/watch?v=wSeHsAQZFb0

    • Prefab in Prefab for Play Mode and Edit Mode.
    • Prefab in Prefab in Prefab in Prefab in ...
    • When you edit child prefab, the changing prefab reflect.
    • You can use this asset with NGUI! (tested!)
    • Full open source and MIT license.
     
    Last edited: May 9, 2014
  2. PrefabEvolution

    PrefabEvolution

    Joined:
    Mar 27, 2014
    Posts:
    225
    Nice. But i think its too young implementation to became very useful.

    Examples when its fails:
    "Prefab A" contains "Prefab B", when you change "Prefab B" this just replace instance of "B" inside "A" and copy properties values from one object to another. But what about objects on "Prefab A" that have references to objects inside instance of "Prefab B"?
    And what about components and GameObjects that was destroyed/added on instance of "Prefab B" inside "Prefab A" but not on "Prefab B" itself.

    All of this is already done in my plugin http://forum.unity3d.com/threads/236719-Prefab-Evolution-Plugin?p=1572475#post1572475
     
  3. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
    thanks.

    That is unbelievable.
    This asset is preview only ( not Instantiate ) in edit mode.
    ( Actually, Instantiate prefab in edit mode too, but, Instantiated prefab is hidden and not editable game object. )

    Your asset looks very good.
    I want to use that.
     
  4. PrefabEvolution

    PrefabEvolution

    Joined:
    Mar 27, 2014
    Posts:
    225
    And now you can try it by yourself)